aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/29k-share/udi/udip2soc.c5
-rw-r--r--gdb/ChangeLog2
2 files changed, 6 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>
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index baa5f01..bea5ebc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Thu Aug 5 08:58:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
+
* config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.