summaryrefslogtreecommitdiff
path: root/src/lib/ipcp.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-03-30 18:32:33 +0200
committerDimitri Staessens <[email protected]>2016-03-30 18:32:33 +0200
commit850cefe748364b0b5154c10ac4d9e2b35600efd6 (patch)
treeec127e49cdd695381651cd8a942caaeaef3a11da /src/lib/ipcp.c
parenta7e83f9c190dfbebd891992ed0254435edf48aa4 (diff)
parent08941177f030b77fb44238a7e589322d2e0fcaa2 (diff)
downloadouroboros-850cefe748364b0b5154c10ac4d9e2b35600efd6.tar.gz
ouroboros-850cefe748364b0b5154c10ac4d9e2b35600efd6.zip
Merged in sandervrijders/ouroboros/be-irmd (pull request #48)
lib, irmd: Update communication with IRMd
Diffstat (limited to 'src/lib/ipcp.c')
-rw-r--r--src/lib/ipcp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/ipcp.c b/src/lib/ipcp.c
index 60d5879e..2caeaad3 100644
--- a/src/lib/ipcp.c
+++ b/src/lib/ipcp.c
@@ -22,14 +22,10 @@
#define OUROBOROS_PREFIX "lib-ipcp"
-#ifndef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 199506L
-#endif
-
+#include <ouroboros/config.h>
#include <ouroboros/ipcp.h>
#include <ouroboros/common.h>
#include <ouroboros/logs.h>
-#include <ouroboros/config.h>
#include <ouroboros/utils.h>
#include <ouroboros/sockets.h>
@@ -97,6 +93,8 @@ pid_t ipcp_create(instance_name_t * api,
if (ipcp_type == NULL)
return -1;
+ LOG_DBG("%lu", _POSIX_C_SOURCE);
+
pid = fork();
if (pid == -1) {
LOG_ERR("Failed to fork");