about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2016-02-22 17:44:41 +0100
committerStefan Liebler <stli@linux.vnet.ibm.com>2016-02-22 17:44:41 +0100
commitde6e5df27ead590c7f590a63665cb87764cf6de3 (patch)
treebfffd88068ffcc413b04cf5eed13ae21d27f1b08 /posix
parent7584a3f96de88d5eefe5d6c634515278cbfbf052 (diff)
downloadglibc-de6e5df27ead590c7f590a63665cb87764cf6de3.tar.gz
glibc-de6e5df27ead590c7f590a63665cb87764cf6de3.tar.xz
glibc-de6e5df27ead590c7f590a63665cb87764cf6de3.zip
Add missing inclusion of libc-internal.h.
The build of posix/tst-dir.c fails due to undefined DIAG_* macros.
The usage of the macros were introduced in recent commit
7584a3f96de88d5eefe5d6c634515278cbfbf052
"Deprecate readdir_r, readdir64_r [BZ #19056]".
This patch adds the missing header libc-internal.h.
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-dir.c b/posix/tst-dir.c
index d0e487824a..9dbc5566c6 100644
--- a/posix/tst-dir.c
+++ b/posix/tst-dir.c
@@ -26,7 +26,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
-
+#include <libc-internal.h>
 
 /* We expect four arguments:
    - source directory name