summaryrefslogtreecommitdiff
path: root/sysdeps/posix/readdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/readdir.c')
-rw-r--r--sysdeps/posix/readdir.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/posix/readdir.c b/sysdeps/posix/readdir.c
index e1e63f6157..a6ecc0fe5b 100644
--- a/sysdeps/posix/readdir.c
+++ b/sysdeps/posix/readdir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -120,3 +120,8 @@ __READDIR (DIR *dirp)
#ifdef __READDIR_ALIAS
weak_alias (__readdir, readdir)
#endif
+
+#undef __READDIR
+#undef __GETDENTS
+#undef DIRENT_TYPE
+#undef __READDIR_ALIAS