aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/29k-share')
-rw-r--r--gdb/29k-share/udi/udip2soc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c
index feb23b4..ec7a8fb 100644
--- a/gdb/29k-share/udi/udip2soc.c
+++ b/gdb/29k-share/udi/udip2soc.c
@@ -26,6 +26,10 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD";
*/
#include <stdio.h>
#include <string.h>
+
+/* Before sys/file.h for Unixware. */
+#include <sys/types.h>
+
#include <sys/file.h>
/* This used to say sys/fcntl.h, but the only systems I know of that
@@ -36,7 +40,6 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD";
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>