[xmlrpc-c] Fix MacOS build

This commit is contained in:
Jakub Karolczyk committed 2023-07-08 04:41:10 -05:00
1 parent ab211c542a
commit 921eebdbea
4 files changed
+15

No files matched your search

+3
View File
@@ -1,6 +1,9 @@
/* Copyright information is at end of file */
#define _XOPEN_SOURCE 600 /* Make sure strdup() is in <string.h> */
#ifdef __APPLE__
#define _DARWIN_C_SOURCE
#endif
#define _BSD_SOURCE /* Make sure setgroups()is in <grp.h> */
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE