Hi, I'm currently compiling systemd-194. Very often I get the error about undeclarated definitions MS_REC, MS_PRIVATE, MS_MOVE... in mount func. I know that's because of old glibc headers... But. may be it would be useful to write something like that:
#ifndef MS_REC /* May not be defined in older glibc headers */ #define MS_REC 16384 #endif #ifndef MS_PRIVATE /* May not be defined in older glibc headers */ #define MS_PRIVATE (1<<18) /* change to private */ #endif #ifndef MS_SLAVE /* May not be defined in older glibc headers */ #define MS_SLAVE (1<<19) /* change to slave */ #endif #ifndef MS_SHARED /* May not be defined in older glibc headers */ #define MS_SHARED (1<<20) /* change to shared */ #endif For those who didn't want or can update glibc. Best regards, Den _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
