From 6537fe3d6cd7fed9d474946a172db4a9824e1523 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Wed, 6 Sep 2017 17:00:18 +0200 Subject: 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. --- src/ipcpd/normal/enroll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ipcpd') 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 #include #include +#include #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 */ -- cgit v1.2.3