* dwarfread.c: Remove second inclusion of <sys/types.h>, which
authorPeter Schauer <Peter.Schauer@mytum.de>
Thu, 24 Feb 1994 13:33:45 +0000 (13:33 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Thu, 24 Feb 1994 13:33:45 +0000 (13:33 +0000)
causes problems if <sys/types.h> has no multiple inclusion protection.

gdb/ChangeLog
gdb/dwarfread.c

index aff841c2728319981cd6160c1a94c7acd38a10c7..1084f15d4662d1d60575a86995cbde46871b56b6 100644 (file)
@@ -2,6 +2,8 @@ Thu Feb 24 04:29:19 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
 
        * exec.c (print_section_info):  Print entry point for exec_bfd only.
        * ser-unix.c (wait_for):  Fix typo in HAVE_TERMIO case.
+       * dwarfread.c:  Remove second inclusion of <sys/types.h>, which
+       causes problems if <sys/types.h> has no multiple inclusion protection.
 
 Wed Feb 23 16:28:55 1994  Jeffrey A. Law  (law@cygnus.com)
 
index be676518c450bf771101f9a6885f09aa4a5245de..15d2988f2969749bdea8232d7dbd37ecc8ebc2f4 100644 (file)
@@ -56,7 +56,6 @@ other things to work on, if you get bored. :-)
 
 #include <fcntl.h>
 #include <string.h>
-#include <sys/types.h>
 
 #ifndef        NO_SYS_FILE
 #include <sys/file.h>