From 35a474bb857b4858750c8d62023a891f774d2b90 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 16 Oct 1994 01:33:27 +0000 Subject: [PATCH] (LIBS_SYSTEM): Add -lcposix. (sigblock, SIG_BLOCK): Define if not defined. --- src/s/isc4-0.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h index 77c52d1fc98..a52e0d821ef 100644 --- a/src/s/isc4-0.h +++ b/src/s/isc4-0.h @@ -1,6 +1,11 @@ #include "isc3-0.h" -#define LIBS_SYSTEM -linet +#undef LIBS_SYSTEM +#ifdef HAVE_X_WINDOWS +#define LIBS_SYSTEM -linet -lcposix +#else +#define LIBS_SYSTEM -lcposix +#endif #define ISC4_0 @@ -10,3 +15,13 @@ #undef LIBX11_SYSTEM #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc #endif + +/* Tobias Herbert + says this is needed. */ + +#ifndef sigblock +#ifndef SIG_BLOCK +#define SIG_BLOCK 0 +#endif +#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) +#endif -- 2.39.5