aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-11-02 23:38:41 +0000
committerJeff Law <law@redhat.com>1993-11-02 23:38:41 +0000
commit5d5a6520c31214404852e6f191778a5ea12b0e8d (patch)
tree5a67ad78aac99978787ebdc446ecc6c9ec6029f5 /gas
parent1a12739ccda86d0bb498d8e911d5ef98c6a53281 (diff)
downloadgdb-5d5a6520c31214404852e6f191778a5ea12b0e8d.zip
gdb-5d5a6520c31214404852e6f191778a5ea12b0e8d.tar.gz
gdb-5d5a6520c31214404852e6f191778a5ea12b0e8d.tar.bz2
* config/ho-hpux.h: Do not include ho-sysv.h. Instead include
standard hpux include files to pick up various function decls.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/ho-hpux.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gas/config/ho-hpux.h b/gas/config/ho-hpux.h
index ebea9e2..23310d7 100644
--- a/gas/config/ho-hpux.h
+++ b/gas/config/ho-hpux.h
@@ -17,8 +17,6 @@
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "ho-sysv.h"
-
/* This header file contains the #defines specific
to HPUX changes sent me by cph@zurich.ai.mit.edu */
#ifndef hpux
@@ -31,4 +29,13 @@
#define setbuffer(stream, buf, size)
+/* Some basic include files. Avoid including ho-sysv.h as it defines
+ malloc and free and the declarations do not match what HPUX puts
+ in its include files! Declaring such system functions is not all
+ that good of an idea. */
+#include <ctype.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+
/* end of ho-hpux.h */