aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-i386sco.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-12-15 18:12:37 +0000
committerIan Lance Taylor <ian@airs.com>1992-12-15 18:12:37 +0000
commit117f631e54876035af27162ca11ea4e06601c8da (patch)
tree2039ab0178d57eddf92e438484051f241063c1f6 /gdb/xm-i386sco.h
parent51b80b0072e928c9163087e1fcbc71e52301f524 (diff)
downloadgdb-117f631e54876035af27162ca11ea4e06601c8da.zip
gdb-117f631e54876035af27162ca11ea4e06601c8da.tar.gz
gdb-117f631e54876035af27162ca11ea4e06601c8da.tar.bz2
Tue Dec 15 10:05:56 1992 Ian Lance Taylor (ian@cygnus.com)
* coffread.c (decode_type): catch negative tagndx fields generated by SCO 3.2v4 cc. * exec.c: comment out string following #endif. * configure.in (i[34]86-*-sco3.2v4*): use host i386sco4. * xm-i386sco.h: include <sys/types.h> and <sys/dir.h>, required by <sys/user.h>. * config/i386sco4.mh: new file; like i386sco.mh, but don't require gcc, and define const to empty to avoid SCO 3.2v4 cc bug.
Diffstat (limited to 'gdb/xm-i386sco.h')
-rw-r--r--gdb/xm-i386sco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/xm-i386sco.h b/gdb/xm-i386sco.h
index 88870ca..8641ef6 100644
--- a/gdb/xm-i386sco.h
+++ b/gdb/xm-i386sco.h
@@ -17,6 +17,10 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* In 3.2v4 <sys/user.h> requires on <sys/dir.h>. */
+#include <sys/types.h>
+#include <sys/dir.h>
+
#include "xm-i386v.h"
/* Apparently there is inconsistency among various System V's about what