summaryrefslogtreecommitdiff
path: root/lib/libXdmcp/GenKey.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXdmcp/GenKey.c')
-rw-r--r--lib/libXdmcp/GenKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libXdmcp/GenKey.c b/lib/libXdmcp/GenKey.c
index 0d702560e..1469082ba 100644
--- a/lib/libXdmcp/GenKey.c
+++ b/lib/libXdmcp/GenKey.c
@@ -50,7 +50,7 @@ getbits (long data, unsigned char *dst)
#include <stdlib.h>
-#if defined(SYSV) || defined(SVR4)
+#if defined(HAVE_LRAND48) && defined(HAVE_SRAND48)
#define srandom srand48
#define random lrand48
#endif