aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-09 19:17:04 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-09 19:17:04 +0000
commita2fbd4c8e9cd91117a84797919a9733b10211b16 (patch)
tree05ccb0317999e8072032ae0c727a2d37dca237a0
parent36d701ab49dbf9b5feb69f2fd66442d7e2c6c8a2 (diff)
downloadgdb-a2fbd4c8e9cd91117a84797919a9733b10211b16.zip
gdb-a2fbd4c8e9cd91117a84797919a9733b10211b16.tar.gz
gdb-a2fbd4c8e9cd91117a84797919a9733b10211b16.tar.bz2
* 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
sys/types.h near the top (just on general principles).
-rw-r--r--gdb/29k-share/udi/udr.c7
-rw-r--r--gdb/ChangeLog3
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/29k-share/udi/udr.c b/gdb/29k-share/udi/udr.c
index 9ee6460..e35da32 100644
--- a/gdb/29k-share/udi/udr.c
+++ b/gdb/29k-share/udi/udr.c
@@ -27,8 +27,13 @@ static char udr_c_AMD[]="@(#)udr.c 2.3, AMD";
********************************************************************** HISTORY
*/
#include <stdio.h>
-#include <sys/fcntl.h>
#include <sys/types.h>
+
+/* This used to say sys/fcntl.h, but the only systems I know of that
+ require that are old (pre-4.3, at least) BSD systems, which we
+ probably don't need to worry about. */
+#include <fcntl.h>
+
#include <sys/socket.h>
#include "udiproc.h"
#include "udisoc.h"
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d4f1d28..658724d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Mon Aug 9 09:53:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
+ sys/types.h near the top (just on general principles).
+
* environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
no longer used.