[fix] conditional compilation for strndup and drand48 for Windows, using config.h

This commit is contained in:
Al
2017-11-29 12:21:13 -05:00
parent 18eb5ef9ee
commit 26e4ef08bc
6 changed files with 25 additions and 6 deletions

View File

@@ -1,4 +1,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef HAVE_STRNDUP
#include <stdlib.h>