mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.pposix: Fix or silence a warning on OS X (#1202)
This commit is contained in:
parent
b78f1d3da1
commit
530a9f9c8e
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
|||
#else
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
#if defined(__APPLE__)
|
||||
#define _DARWIN_C_SOURCE
|
||||
#endif
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue