fixes for files in the apicalls directory for strdup on old systems

This commit is contained in:
root
2014-12-27 17:24:04 -06:00
parent 3e102bf5fb
commit 70a6056d78
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 <jansson.h>
#include <stdlib.h>

View File

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

View File

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