This function is implemented in utils.c when not available otherwise.
Removes this warning with MinGW:
C:/Users/magja/graphviz/lib/fdpgen/tlayout.c:597:33: warning: implicit declaration of function 'drand48'; did you mean 'srand48'? [-Wimplicit-function-declaration]
597 | double angle = PItimes2 * drand48();
| ^~~~~~~
| srand48
#ifndef _UTILS_H
#define _UTILS_H 1
+#include "config.h"
+
#include <cgraph/agxbuf.h>
#include <stdbool.h>
/* from postproc.c */
UTILS_API void gv_nodesize(Agnode_t * n, boolean flip);
+#ifndef HAVE_DRAND48
+ UTILS_API double drand48(void);
+#endif
+
/* from timing.c */
UTILS_API void start_timer(void);
UTILS_API double elapsed_sec(void);