summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/pci.c4
-rw-r--r--src/ipcpd/pci.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ipcpd/pci.c b/src/ipcpd/pci.c
index 19c42e53..548e40e2 100644
--- a/src/ipcpd/pci.c
+++ b/src/ipcpd/pci.c
@@ -25,6 +25,10 @@
#include <malloc.h>
#include <errno.h>
+#define OUROBOROS_PREFIX "ipcp/pci"
+
+#include <ouroboros/logs.h>
+
#define PCI_HEAD_SIZE(a, b) a.addr_size * 2 + \
a.cep_id_size * 2 + \
a.pdu_length_size + \
diff --git a/src/ipcpd/pci.h b/src/ipcpd/pci.h
index c7095bbd..3c011723 100644
--- a/src/ipcpd/pci.h
+++ b/src/ipcpd/pci.h
@@ -24,10 +24,7 @@
#ifndef OUROBOROS_IPCP_PCI_H
#define OUROBOROS_IPCP_PCI_H
-#define OUROBOROS_PREFIX "ipcp/pci"
-
#include "ouroboros/du_buff.h"
-#include "ouroboros/logs.h"
#include "dt_const.h"
struct pci;