popen-safer: prevent popen from clobbering std descriptors
[gnulib.git] / tests / test-popen.c
index 3d689e9..4e43bd7 100644 (file)
 #include <sys/wait.h>
 #include <unistd.h>
 
+#if GNULIB_POPEN_SAFER
+# include "stdio--.h"
+#endif
+
 #define ASSERT(expr) \
   do                                                                        \
     {                                                                       \