OpenBSD build bits

An issue still remains with fetch-Lua in the top Makefile.
This commit is contained in:
nhmall
2026-05-15 21:58:51 -04:00
parent 3a0c6f17c7
commit a8f97a3926
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -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
View File
@@ -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