summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-23 15:15:29 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-23 15:15:29 +0000
commitfeecc700c654a36daa296b9951dca5d5559df0ab (patch)
treea49818ffb0d4e7abf79b2d07c7b4a4e47ca2e32d /usr.bin
parent4273f815ac4db1c4719efa8ace9bc2ef4468c3f3 (diff)
From NetBSD:
since we're going to use the mem*() functions, we need them prototyped so that the return types work right on the Alpha.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/general/general.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tn3270/general/general.h b/usr.bin/tn3270/general/general.h
index f5e2775342a..cb2e365dc4e 100644
--- a/usr.bin/tn3270/general/general.h
+++ b/usr.bin/tn3270/general/general.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)general.h 4.2 (Berkeley) 4/26/91
- * $Id: general.h,v 1.2 1996/01/02 11:21:36 deraadt Exp $
+ * $Id: general.h,v 1.3 1996/02/23 15:15:28 niklas Exp $
*/
/*
@@ -64,4 +64,6 @@
} \
}
#define memcmp(s1,s2,n) bcmp(s1,s2,n)
-#endif /* defined(unix) && !defined(__NetBSD__) */
+#else /* !(defined(unix) && !defined(__NetBSD__)) */
+#include <string.h>
+#endif /* !(defined(unix) && !defined(__NetBSD__)) */