diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-05 19:06:24 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-05 19:06:24 +0000 |
commit | 038de4933e07dbf497994542ead2cdf63ea7f87c (patch) | |
tree | bed2af9192e40f9b868d1449dbae935cca79ceb5 /gdb/29k-share | |
parent | b66b07a292a3ef2c6ec478fe2f712b10cafed446 (diff) | |
download | gdb-038de4933e07dbf497994542ead2cdf63ea7f87c.zip gdb-038de4933e07dbf497994542ead2cdf63ea7f87c.tar.gz gdb-038de4933e07dbf497994542ead2cdf63ea7f87c.tar.bz2 |
* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
Diffstat (limited to 'gdb/29k-share')
-rw-r--r-- | gdb/29k-share/udi/udip2soc.c | 5 |
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> |