aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemonise.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 01:46:14 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 01:46:14 +0100
commit39f1a60497327c301e32a681c33138f42cb98359 (patch)
treee06df6393c1ff6fcd46d7a56c127657a60dfcdf3 /src/daemonise.c
parentm fix (diff)
downloadsat-39f1a60497327c301e32a681c33138f42cb98359.tar.gz
sat-39f1a60497327c301e32a681c33138f42cb98359.tar.bz2
sat-39f1a60497327c301e32a681c33138f42cb98359.tar.xz
feature test macros
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--src/daemonise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemonise.c b/src/daemonise.c
index 3f2e858..8b90dd0 100644
--- a/src/daemonise.c
+++ b/src/daemonise.c
@@ -21,6 +21,7 @@
*
* This file is copied from <http://github.com/maandree/slibc>.
*/
+#define _POSIX_C_SOURCE 200809L
#include "daemonise.h"
#include <unistd.h>
#include <fcntl.h>