diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/sco4.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/s/sco4.h b/src/s/sco4.h index 86df419ce65..16866059d18 100644 --- a/src/s/sco4.h +++ b/src/s/sco4.h | |||
| @@ -79,7 +79,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 79 | #endif | 79 | #endif |
| 80 | 80 | ||
| 81 | #ifdef HAVE_SOCKETS | 81 | #ifdef HAVE_SOCKETS |
| 82 | #define LIBS_SYSTEM -lsocket | 82 | #define LIBS_SYSTEM -lsocket -lPW |
| 83 | 83 | ||
| 84 | /* SCO has gettimeofday in socket library */ | 84 | /* SCO has gettimeofday in socket library */ |
| 85 | /* Autoconf should determine this, but for now, | 85 | /* Autoconf should determine this, but for now, |
| @@ -90,6 +90,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 90 | #endif | 90 | #endif |
| 91 | #endif | 91 | #endif |
| 92 | 92 | ||
| 93 | /* This enables configure to tell that we have alloca. */ | ||
| 94 | #ifndef LIBS_SYSTEM | ||
| 95 | #define LIBS_SYSTEM -lPW | ||
| 96 | #endif | ||
| 97 | |||
| 93 | #ifdef HAVE_X11R5 | 98 | #ifdef HAVE_X11R5 |
| 94 | /* configure can't get this right linking fails unless -lsocket is used. */ | 99 | /* configure can't get this right linking fails unless -lsocket is used. */ |
| 95 | #undef HAVE_XSCREENNUMBEROFSCREEN | 100 | #undef HAVE_XSCREENNUMBEROFSCREEN |