diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-04-08 02:13:49 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-04-08 02:13:49 +0000 |
commit | 877641742255c9eeb82438eb54fd772f65e61e84 (patch) | |
tree | 10d660b52c569df0c8724c7b56d5a8e75c255626 /lib/util | |
parent | dd12f603fa64ee403e4fa351eb1e95a27b26b599 (diff) | |
download | netpbm-mirror-877641742255c9eeb82438eb54fd772f65e61e84.tar.gz netpbm-mirror-877641742255c9eeb82438eb54fd772f65e61e84.tar.xz netpbm-mirror-877641742255c9eeb82438eb54fd772f65e61e84.zip |
Release 10.94.02
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4084 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/randsysrandom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/randsysrandom.c b/lib/util/randsysrandom.c index 3e38b0ae..f26bb18d 100644 --- a/lib/util/randsysrandom.c +++ b/lib/util/randsysrandom.c @@ -1,9 +1,14 @@ +/* Implementation note: Mingw/Windows does not provide POSIX 'random', so + netpbm/pm_config.h makes that a macro for POSIX 'rand' on that platform +*/ + #define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */ #define _XOPEN_SOURCE 500 /* Make sure random() is in stdlib.h */ #define _BSD_SOURCE /* Make sure random() is in stdlib.h */ #include <stdlib.h> +#include "netpbm/pm_config.h" #include "netpbm/rand.h" static void |