# HG changeset patch # User Richard M. Stallman # Date 761728237 0 # Node ID 0d370ebc038a4a73e3fcce9886908c7877b856de # Parent f03d2629a6a366f827eb520496c1194a9a5d2a8d (BSD_PGRPS): Add #undef. (TAB3): Defined. (NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined. diff -r f03d2629a6a3 -r 0d370ebc038a src/s/netbsd.h --- a/src/s/netbsd.h Sun Feb 20 03:25:09 1994 +0000 +++ b/src/s/netbsd.h Sun Feb 20 07:10:37 1994 +0000 @@ -13,20 +13,32 @@ #undef LDAV_SYMBOL #define HAVE_GETLOADAVG +#define HAVE_UNION_WAIT + #define SIGNALS_VIA_CHARACTERS #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) +/* netbsd uses OXTABS instead of the expected TAB3. */ +#define TAB3 OXTABS + #define A_TEXT_OFFSET(x) (sizeof (struct exec)) #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) +#define HAVE_TERMIOS +#define NO_TERMIO + #define LIBS_DEBUG /* -lutil is not needed for NetBSD >0.9. */ #define LIBS_SYSTEM -lutil #define LIBS_TERMCAP -ltermcap +#define NEED_ERRNO #define SYSV_SYSTEM_DIR +/* Netbsd has POSIX-style pgrp behavior. */ +#undef BSD_PGRPS + /* These definitions should work for either dynamic or static linking, whichever is the default for `cc -nostdlib'. */ #define HAVE_TEXT_START /* No need to define `start_of_text'. */