summaryrefslogtreecommitdiff
path: root/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests.c')
-rw-r--r--tests.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests.c b/tests.c
index a15be2d..b612a85 100644
--- a/tests.c
+++ b/tests.c
@@ -2,6 +2,10 @@
**
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/AsciiText.h>
@@ -21,7 +25,7 @@
#define PI 3.14159265
#endif
-#ifdef SYSV
+#ifdef HAVE_LRAND48
#define random lrand48
#endif