aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share
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 /gdb/29k-share
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).
Diffstat (limited to 'gdb/29k-share')
-rw-r--r--gdb/29k-share/udi/udr.c7
1 files changed, 6 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"