aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share/udi
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-05 14:28:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-05 14:28:32 +0000
commit8d9ec7b631e0a7e521cd385b6244458078c61adc (patch)
tree79829bb07fc2665ff72cd2b775840ba97959ff76 /gdb/29k-share/udi
parent7c6a9e798c9be2aa2a113ac8281c44226d786aeb (diff)
downloadgdb-8d9ec7b631e0a7e521cd385b6244458078c61adc.zip
gdb-8d9ec7b631e0a7e521cd385b6244458078c61adc.tar.gz
gdb-8d9ec7b631e0a7e521cd385b6244458078c61adc.tar.bz2
* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
Diffstat (limited to 'gdb/29k-share/udi')
-rw-r--r--gdb/29k-share/udi/udip2soc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c
index 9232fd8..feb23b4 100644
--- a/gdb/29k-share/udi/udip2soc.c
+++ b/gdb/29k-share/udi/udip2soc.c
@@ -27,7 +27,12 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD";
#include <stdio.h>
#include <string.h>
#include <sys/file.h>
-#include <sys/fcntl.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/wait.h>
#include <sys/time.h>
#include <sys/resource.h>