diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/isc4-0.h | 17 |
1 files changed, 16 insertions, 1 deletions
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 @@ | |||
| 1 | #include "isc3-0.h" | 1 | #include "isc3-0.h" |
| 2 | 2 | ||
| 3 | #define LIBS_SYSTEM -linet | 3 | #undef LIBS_SYSTEM |
| 4 | #ifdef HAVE_X_WINDOWS | ||
| 5 | #define LIBS_SYSTEM -linet -lcposix | ||
| 6 | #else | ||
| 7 | #define LIBS_SYSTEM -lcposix | ||
| 8 | #endif | ||
| 4 | 9 | ||
| 5 | #define ISC4_0 | 10 | #define ISC4_0 |
| 6 | 11 | ||
| @@ -10,3 +15,13 @@ | |||
| 10 | #undef LIBX11_SYSTEM | 15 | #undef LIBX11_SYSTEM |
| 11 | #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc | 16 | #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc |
| 12 | #endif | 17 | #endif |
| 18 | |||
| 19 | /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> | ||
| 20 | says this is needed. */ | ||
| 21 | |||
| 22 | #ifndef sigblock | ||
| 23 | #ifndef SIG_BLOCK | ||
| 24 | #define SIG_BLOCK 0 | ||
| 25 | #endif | ||
| 26 | #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) | ||
| 27 | #endif | ||