fixup files in mfapi directory for strdup on old systems

This commit is contained in:
root
2014-12-27 17:20:16 -06:00
parent a207c28172
commit 2f218f9c99
3 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
*/
#define _POSIX_C_SOURCE 200809L // for strdup
#define _BSD_SOURCE // for strdup on old systems
#include <stdint.h>
#include <stdio.h>

View File

@@ -18,6 +18,7 @@
*/
#define _POSIX_C_SOURCE 200809L // for strdup
#define _BSD_SOURCE // for strdup on old systems
#include <openssl/md5.h>
#include <openssl/sha.h>

View File

@@ -17,6 +17,7 @@
*/
#define _POSIX_C_SOURCE 200809L // for strdup
#defein _BSD_SOURCE // for strdup on old systems
#include <stdint.h>
#include <openssl/sha.h>