diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-11-03 15:57:41 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-11-03 18:36:28 +0100 |
commit | 57573bbdfd740da8bb10d2e85a21526e971d0a5e (patch) | |
tree | cbb6d1f3f6da02be449eb43705e205ab960ae1b9 /include | |
parent | 5620d46cb822f4ef010afed9a70e2e4a00b88625 (diff) |
unistd: fix #if condition
Commit dfa593d4d881116723a4401b466ea964fb12327b ("syncfs: add system
call support") modified the #if condition around the definition of the
syncfs() prototype in a way that doesn't build, causing build failures
of any file including <unistd.h>:
output/host/usr/powerpc-buildroot-linux-uclibc/sysroot/usr/include/unistd.h:988:14: error: #if with no expression
#if __USE_GNU
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Xi-Sheng Luo <lxsjason@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h index 4701dabf8..40d6abdc0 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1073,7 +1073,7 @@ extern char *getpass (const char *__prompt) __nonnull ((1)); extern int fsync (int __fd); #endif /* Use BSD || X/Open || Unix98. */ -#if __USE_GNU +#if defined __USE_GNU /* Make all changes done to all files on the file system associated * with FD actually appear on disk. */ extern int syncfs (int __fd) __THROW; |