Skip to contentSkip to conversation

Fix "implicit declaration" compiler warning

PATCH In review Lev Stipakov 3 participants 3 messages Nov 11, 2015 – Apr 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix "implicit declaration" compiler warning

Add missing "include" directive.

---
 src/openvpn/mtcp.c | 4 ++++
 1 file changed, 4 insertions(+)
src/openvpn/mtcp.c +4 -0
index b27c5eb..9926d47 100644
@@ -37,6 +37,10 @@
 
 #include "memdbg.h"
 
+#ifdef HAVE_SYS_INOTIFY_H
+#include <sys/inotify.h>
+#endif
+
 /*
  * TCP States
  */
Signature · 1 line
1.9.1
#1 lore raw

Am 11.11.15 um 15:00 schrieb Lev Stipakov:

Quoted 13 lines

Add missing "include" directive.

---
 src/openvpn/mtcp.c | 4 ++++
 1 file changed, 4 insertions(+)
src/openvpn/mtcp.c +0 -0
index b27c5eb..9926d47 100644

src/openvpn/mtcp.c line 46

Quoted 10 lines
src/openvpn/mtcp.c +4 -0
@@ -37,6 +37,10 @@
 
 #include "memdbg.h"
 
+#ifdef HAVE_SYS_INOTIFY_H
+#include <sys/inotify.h>
+#endif
+
 /*
  * TCP States
  */

ACK.

#2 lore raw
In reply to Lev Stipakov

Your patch has been applied to the master branch.

commit 4e37af92f5729cc29e5abdc873bac529c5a42ef9

Author: Lev Stipakov <[email protected]...>
Date:   Wed Nov 11 15:00:49 2015 +0200
     Fix "implicit declaration" compiler warning

     Signed-off-by: Lev Stipakov <[email protected]...>
     Acked-by: Arne Schwabe <[email protected]...>
     Message-Id: <[email protected]...>
     URL: http://article.gmane.org/gmane.network.openvpn.devel/10485
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,