]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing inclusion of libc-internal.h.
authorStefan Liebler <stli@linux.vnet.ibm.com>
Mon, 22 Feb 2016 16:44:41 +0000 (17:44 +0100)
committerStefan Liebler <stli@linux.vnet.ibm.com>
Mon, 22 Feb 2016 16:44:41 +0000 (17:44 +0100)
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.

ChangeLog
posix/tst-dir.c

index c1efd1a6166f53e8190751f2c108f1252dcaf411..3c30a7298d53c0db79a1227398ab466e5fde16a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * posix/tst-dir.c: Include libc-internal.h.
+
 2016-02-20  Florian Weimer  <fweimer@redhat.com>
 
        [BZ #19056]
index d0e487824a34f2f9eb6dc48dd7ab0245845215c9..9dbc5566c69d9d9fb36d23b73204a7c964b88200 100644 (file)
@@ -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