aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/s/sco4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/sco4.h b/src/s/sco4.h
index bbdf4bf951..dba7644429 100644
--- a/src/s/sco4.h
+++ b/src/s/sco4.h
@@ -76,6 +76,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HAVE_SOCKETS
#define LIBS_SYSTEM -lsocket
+/* configure can't get this right since it comes from -lsocket
+ and configure doesn't know to look there. */
+#undef HAVE_XSCREENNUMBEROFSCREEN
+#define HAVE_XSCREENNUMBEROFSCREEN
+#endif
+
/* SCO has gettimeofday in socket library */
/* Autoconf should determine this, but for now,
play safe to avoid error rather than deleting this