From 038de4933e07dbf497994542ead2cdf63ea7f87c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 5 Aug 1993 19:06:24 +0000 Subject: [PATCH] * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h. --- gdb/29k-share/udi/udip2soc.c | 5 ++++- gdb/ChangeLog | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c index feb23b40277..ec7a8fbe19e 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 #include + +/* Before sys/file.h for Unixware. */ +#include + #include /* 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 #include #include -#include #include #include #include diff --git a/gdb/ChangeLog b/gdb/ChangeLog index baa5f01b2b6..bea5ebc1032 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. -- 2.30.2