summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-01 23:01:29 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-01 23:01:29 +0000
commitab793b00a877b1bfd9b16054b4ec03a1dd8d0745 (patch)
tree279ed63cf561bfb7a2315a3362afcfb08ce1a59b /libc/sysdeps/linux/common/getdents.c
parent321eda50a49325b4d2270b508daf2cc7ffde1fe7 (diff)
Kill 2 redefine warnings w/ gcc-4.x
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
-rw-r--r--libc/sysdeps/linux/common/getdents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 6913798a8..24ce2c8ba 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -28,7 +28,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
-
+#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
struct kernel_dirent