about summary refs log tree commit diff
path: root/test-skeleton.c
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2016-11-27 12:36:16 -0500
committerZack Weinberg <zackw@panix.com>2016-11-27 12:36:16 -0500
commitb964e06640f62cf523e3808b68029d398692204a (patch)
treec7abb03a1aeccbe384a0b63354d189e8951837f1 /test-skeleton.c
parent2dacdc5eb0171078eeb96b12b0761f533a62f70e (diff)
downloadglibc-b964e06640f62cf523e3808b68029d398692204a.tar.gz
glibc-b964e06640f62cf523e3808b68029d398692204a.tar.xz
glibc-b964e06640f62cf523e3808b68029d398692204a.zip
Minor problems exposed by compiling C++ tests under _ISOMAC.
	* libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
	* test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-skeleton.c b/test-skeleton.c
index fa457befa5..154096fd8e 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -33,6 +33,7 @@
 #include <sys/wait.h>
 #include <sys/param.h>
 #include <time.h>
+#include <stdint.h>
 
 /* The test function is normally called `do_test' and it is called
    with argc and argv as the arguments.  We nevertheless provide the