summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2003-11-02 09:31:19 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:49 +0200
commitb5dac1e3bdd01a2ce105df747a9073ff0d6a94e2 (patch)
tree2ce4628567071bbb680b6c81f40f5fd3192eda02 /ar
parent22950ba3df3a0b739786243679d69cd4094e8b20 (diff)
downloaddev86-b5dac1e3bdd01a2ce105df747a9073ff0d6a94e2.tar.gz
Import Dev86src-0.16.14.tar.gzv0.16.14
Diffstat (limited to 'ar')
-rw-r--r--ar/alloca.c2
-rw-r--r--ar/ar.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/ar/alloca.c b/ar/alloca.c
index 880c100..80c95e2 100644
--- a/ar/alloca.c
+++ b/ar/alloca.c
@@ -6,7 +6,7 @@
#include <string.h>
#endif
-#ifdef __TINYC__
+#if defined(__TINYC__) || defined(__HP_cc)
typedef union mem_cell
{
union mem_cell *next; /* A pointer to the next mem */
diff --git a/ar/ar.c b/ar/ar.c
index 1753293..b0694ac 100644
--- a/ar/ar.c
+++ b/ar/ar.c
@@ -15,7 +15,7 @@
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. */
-
+
#include <stdio.h>
#include <stdlib.h>
@@ -29,11 +29,11 @@
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/errno.h>
+#include <errno.h>
#include "ar.h"
#include "rel_aout.h"
-#ifdef __BCC__
+#if defined(__BCC__) || defined(__HP_cc)
#define HAVE_RENAME
#undef HAVE_FSYNC
#define SHORT_FILENAME