aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share
diff options
context:
space:
mode:
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"