From 8a51050f0b3e07efd4c909958777c8a290592fb4 Mon Sep 17 00:00:00 2001 From: Florian Sowade Date: Thu, 5 Mar 2015 12:41:34 +0100 Subject: [PATCH] add an include guard to config.h --- include/tins/config.h | 4 ++++ include/tins/config.h.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/tins/config.h b/include/tins/config.h index 23672e8..25da8fe 100644 --- a/include/tins/config.h +++ b/include/tins/config.h @@ -1,3 +1,5 @@ +#ifndef TINS_CONFIG_H +#define TINS_CONFIG_H /* Define if the compiler supports basic C++11 syntax */ #define HAVE_CXX11 @@ -7,3 +9,5 @@ /* Have WPA2 decryption library */ #define HAVE_WPA2_DECRYPTION + +#endif // TINS_CONFIG_H diff --git a/include/tins/config.h.in b/include/tins/config.h.in index cec4227..b56c018 100644 --- a/include/tins/config.h.in +++ b/include/tins/config.h.in @@ -1,3 +1,5 @@ +#ifndef TINS_CONFIG_H +#define TINS_CONFIG_H /* Define if the compiler supports basic C++11 syntax */ #cmakedefine HAVE_CXX11 @@ -7,3 +9,5 @@ /* Have WPA2 decryption library */ #cmakedefine HAVE_WPA2_DECRYPTION + +#endif // TINS_CONFIG_H