[systemd-devel] PATCH: add missing header include
fcrozat at suse.com
Thu Aug 18 07:18:03 PDT 2011
Le jeudi 18 août 2011 à 16:00 +0200, Lennart Poettering a écrit :
> On Thu, 18.08.11 15:50, Frederic Crozat (fcrozat at suse.com) wrote:
> > Hi,
> > MS_REC is not always defined in sys/mount.h. linux/fs.h should be
> > included, since it is always defined there.
> Not always? Can you be more specific please? Which version of glibc is that?
Well, I haven't found it on glibc 2.11.3, shipped in latest openSUSE (it
was added by Ulrich in 02/2010, see
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11235 ie for glib
Another solution could be to add it to missing.h.
I wasn't sure which one was best, since namespace.c is including
linux/fs.h, because of MS_REC and MS_MS_UNBINDABLE.
Frederic Crozat <fcrozat at suse.com>
More information about the systemd-devel