summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-07-17 10:57:06 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:09 +0100
commit371c898151db2005e3350d9e3bf64ad416b53b02 (patch)
tree0766d55ff83a323afc6925ae66ae280f494e5b63 /proto.h
parentb2dcb6df908bdbc7c9faed625389b9ad8d20544d (diff)
we need to include <sys/types.h> first
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/proto.h b/proto.h
index 630b6c4..f712f9e 100644
--- a/proto.h
+++ b/proto.h
@@ -4,6 +4,10 @@
file, or---for older systems---declaring the functions directly.
*/
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#include <signal.h>
#if HAVE_QUAD_T
@@ -48,10 +52,6 @@ extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
#endif /* STDC_HEADERS */
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif