about summary refs log tree commit diff
path: root/include/spawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spawn.h')
-rw-r--r--include/spawn.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/spawn.h b/include/spawn.h
index c934d423..a28ae691 100644
--- a/include/spawn.h
+++ b/include/spawn.h
@@ -5,11 +5,7 @@
 extern "C" {
 #endif
 
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
+#include <features.h>
 
 #define __NEED_mode_t
 #define __NEED_pid_t