summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-07-07 15:44:16 +0200
committerSander Vrijders <[email protected]>2016-07-07 15:44:16 +0200
commitcc377e56c6fd25403fc7ccf5f83c82e3d85a767b (patch)
tree33604c48880d3a01d7053608584236dd15fc43e8 /src/ipcpd
parent80441117cf61137c6a8c97e0779e70d76ae8541d (diff)
parentb3870ef695a256be4a4ed28a991c39aab37bd6f3 (diff)
downloadouroboros-cc377e56c6fd25403fc7ccf5f83c82e3d85a767b.tar.gz
ouroboros-cc377e56c6fd25403fc7ccf5f83c82e3d85a767b.zip
Merged in dstaesse/ouroboros/be-lockfile (pull request #165)
lib: Add lockfile
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/local/main.c1
-rw-r--r--src/ipcpd/normal/shm_pci.c3
-rw-r--r--src/ipcpd/shim-eth-llc/main.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c
index ae75ae5e..d72269b8 100644
--- a/src/ipcpd/local/main.c
+++ b/src/ipcpd/local/main.c
@@ -23,6 +23,7 @@
#include <ouroboros/config.h>
#include "ipcp.h"
#include "flow.h"
+#include <ouroboros/errno.h>
#include <ouroboros/shm_du_map.h>
#include <ouroboros/shm_ap_rbuff.h>
#include <ouroboros/list.h>
diff --git a/src/ipcpd/normal/shm_pci.c b/src/ipcpd/normal/shm_pci.c
index e76d8009..144bd15e 100644
--- a/src/ipcpd/normal/shm_pci.c
+++ b/src/ipcpd/normal/shm_pci.c
@@ -21,9 +21,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <ourboros/errno.h>
+
#include "shm_pci.h"
#include <stdlib.h>
-#include <errno.h>
#define SHM_PCI_HEAD_SIZE(a, b) a.addr_size * 2 + \
a.cep_id_size * 2 + \
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index 4c260301..f82438c6 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -26,6 +26,7 @@
#include "ipcp.h"
#include "flow.h"
+#include <ouroboros/errno.h>
#include <ouroboros/shm_du_map.h>
#include <ouroboros/shm_ap_rbuff.h>
#include <ouroboros/list.h>
@@ -47,7 +48,6 @@
#include <pthread.h>
#include <fcntl.h>
#include <unistd.h>
-#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>