summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-09-06 17:00:18 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-06 17:00:18 +0200
commit6537fe3d6cd7fed9d474946a172db4a9824e1523 (patch)
tree593bdf16211b99c0a8a95d419b2c1efd0c323e68
parent3ed56c914851fa6eab5744213fd2e700f1ab71a8 (diff)
downloadouroboros-6537fe3d6cd7fed9d474946a172db4a9824e1523.tar.gz
ouroboros-6537fe3d6cd7fed9d474946a172db4a9824e1523.zip
ipcpd: normal: Avoid redefining a typedef
This avoids a redefinition of a typedef which is a C11 feature, and thus not supported by clang when the c89 switch is enabled.
-rw-r--r--src/ipcpd/normal/enroll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c
index cad14fd8..ad229f40 100644
--- a/src/ipcpd/normal/enroll.c
+++ b/src/ipcpd/normal/enroll.c
@@ -31,6 +31,7 @@
#include <ouroboros/logs.h>
#include <ouroboros/rib.h>
#include <ouroboros/errno.h>
+#include <ouroboros/sockets.h>
#include "connmgr.h"
#include "enroll.h"
@@ -44,8 +45,6 @@
#include "enroll.pb-c.h"
typedef EnrollMsg enroll_msg_t;
-typedef IpcpConfigMsg ipcp_config_msg_t;
-typedef DifInfoMsg dif_info_msg_t;
#define ENROLL_AE "Enrollment"
#define ENROLL_PROTO "OEP" /* Ouroboros enrollment protocol */