summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/c.h3
-rw-r--r--src/include/port/sunos4.h6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index e07f7c2918c..6b163f95626 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.11 1997/04/15 17:55:37 scrappy Exp $
+ * $Id: c.h,v 1.12 1997/04/24 20:00:45 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -743,6 +743,7 @@ extern char *form(char *fmt, ...);
#if defined(sunos4)
#define memmove(d, s, l) bcopy(s, d, l)
+#include <unistd.h>
#endif
/* These are for things that are one way on Unix and another on NT */
diff --git a/src/include/port/sunos4.h b/src/include/port/sunos4.h
index 0dbac44dffd..c1ec7f50610 100644
--- a/src/include/port/sunos4.h
+++ b/src/include/port/sunos4.h
@@ -1 +1,5 @@
-# define USE_POSIX_TIME
+#define USE_POSIX_TIME
+#ifndef BYTE_ORDER
+# define BYTE_ORDER BIG_ENDIAN
+#endif
+