diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-15 16:52:22 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-15 16:52:22 -0800 |
commit | a239d6fa04a35be84720a4516e8164dc634bb3d3 (patch) | |
tree | 84057e162f19c1ceaa3d3a59dd5fa38d54e7858d /tests.c | |
parent | bf82e932006e05543e24af49702193a9d8678bfb (diff) |
Use autoconf instead of platform ifdefs to check for lrand48()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |