diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-06 17:00:18 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-06 17:00:18 +0200 |
commit | 6537fe3d6cd7fed9d474946a172db4a9824e1523 (patch) | |
tree | 593bdf16211b99c0a8a95d419b2c1efd0c323e68 | |
parent | 3ed56c914851fa6eab5744213fd2e700f1ab71a8 (diff) | |
download | ouroboros-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.c | 3 |
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 */ |