projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
popen-safer: prevent popen from clobbering std descriptors
[gnulib.git]
/
tests
/
test-popen.c
diff --git
a/tests/test-popen.c
b/tests/test-popen.c
index
3d689e9
..
4e43bd7
100644
(file)
--- a/
tests/test-popen.c
+++ b/
tests/test-popen.c
@@
-27,6
+27,10
@@
#include <sys/wait.h>
#include <unistd.h>
+#if GNULIB_POPEN_SAFER
+# include "stdio--.h"
+#endif
+
#define ASSERT(expr) \
do \
{ \