diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-16 01:20:21 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:38 +0200 |
commit | c28cabb17933d98c9046d4b2492e39757bbacf5a (patch) | |
tree | 0357aec448b18e219338dd25db9933c40f3cf5c4 /libc/sysdeps/linux/common/fchdir.c | |
parent | e21479da34bbe39fb9d99e2f6e323fd1a942d9cb (diff) |
Reorder includes and include only what is necessary
Use param.h instead of MIN.
Use stddef.h instead of offsetof.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/fchdir.c')
-rw-r--r-- | libc/sysdeps/linux/common/fchdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/fchdir.c b/libc/sysdeps/linux/common/fchdir.c index 4d54ef821..05e9890c8 100644 --- a/libc/sysdeps/linux/common/fchdir.c +++ b/libc/sysdeps/linux/common/fchdir.c @@ -10,6 +10,7 @@ #include <sys/syscall.h> #include <unistd.h> - +#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED _syscall1(int, fchdir, int, fd) libc_hidden_def(fchdir) +#endif |