diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-01-21 23:11:07 -0500 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2013-01-22 14:29:53 -0500 |
commit | 0342e13a321efbf3b8841eda30869eebe4e62bba (patch) | |
tree | 7599234c316b876ffef8375448e174a5c5c4495f /test/test-udev.c | |
parent | 1ebf647b05a7314cfc0279810f802dd1dfa332c1 (diff) |
Fix test-udev.c to build and work on a uclibc system
Two issues are addressed: 1) Makefile.am has to provide config.h
information on HAVE_UNSHARE to test-udev.c. 2) MS_PRIVATE and
MS_REC are defined in <linux/fs.h> which must be directly included
on a uclibc system because of different header stackings. Its
inclusion makes no difference on a glibc system.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'test/test-udev.c')
-rw-r--r-- | test/test-udev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-udev.c b/test/test-udev.c index 26e173de63..ba5daf7242 100644 --- a/test/test-udev.c +++ b/test/test-udev.c @@ -31,6 +31,7 @@ #include <sched.h> #include <sys/mount.h> #include <sys/signalfd.h> +#include <linux/fs.h> #include "udev.h" |