OpenBSD build bits
An issue still remains with fetch-Lua in the top Makefile.
This commit is contained in:
+4
-2
@@ -331,14 +331,16 @@
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#define tparm2(s, x) tparm(s,x,0,0,0,0,0,0,0,0)
|
||||
#else
|
||||
#define tparm2(s, x) tparm(s,x)
|
||||
#endif
|
||||
|
||||
#if defined(BSD) || defined(ULTRIX)
|
||||
#if !defined(DGUX) && !defined(SUNOS4) && !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
#if !defined(DGUX) && !defined(SUNOS4) \
|
||||
&& !defined(__NetBSD__) && !defined(__FreeBSD__) \
|
||||
&& !defined(__OpenBSD__)
|
||||
#define memcpy(d, s, n) bcopy(s, d, n)
|
||||
#define memcmp(s1, s2, n) bcmp(s2, s1, n)
|
||||
#endif
|
||||
|
||||
+2
-1
@@ -894,7 +894,8 @@ cl_eos(void) /* free after Robert Viduya */
|
||||
|
||||
#include <curses.h>
|
||||
|
||||
#if !defined(LINUX) && !defined(__FreeBSD__) && !defined(NOTPARMDECL)
|
||||
#if !defined(LINUX) && !defined(__FreeBSD__) && !defined(__OpenBSD__) \
|
||||
&& !defined(NOTPARMDECL)
|
||||
extern char *tparm();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user