summaryrefslogtreecommitdiff
path: root/src/lib/ipcp.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-03-30 17:25:30 +0200
committerSander Vrijders <[email protected]>2016-03-30 18:02:25 +0200
commit08941177f030b77fb44238a7e589322d2e0fcaa2 (patch)
treee823d98180ea74d476466a862223a69d52308ffd /src/lib/ipcp.c
parenta3f002d6f2d102588f988c99eb16c64a68706dd2 (diff)
downloadouroboros-08941177f030b77fb44238a7e589322d2e0fcaa2.tar.gz
ouroboros-08941177f030b77fb44238a7e589322d2e0fcaa2.zip
lib, irmd: Update communication with IRMd
All messages sent to the IRMd now also get a reply back with the result of the operation.
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");