* 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 9 Aug 1993 19:17:04 +0000 (19:17 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 9 Aug 1993 19:17:04 +0000 (19:17 +0000)
sys/types.h near the top (just on general principles).

gdb/29k-share/udi/udr.c
gdb/ChangeLog

index 9ee646080f7f9032d0e05c111787d53f668bdc2a..e35da326900347f1598c2fc5699f97dcd8206510 100644 (file)
@@ -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"
index d4f1d285abffb72be88973bf490f2e25b2166ca8..658724d857b57faffcdb63ecbcb4f8c7fa7d8a54 100644 (file)
@@ -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.