commit 23041a44dd6c3fcaa18e5cb3f63140e3cb76d6b8
parent c45de8bf1362e6bee4f236a2d870bd9c09d93a08
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Thu, 4 Apr 2019 14:02:38 +0200
build: Add missing HAVE_CONFIG_H guards and include config.h
Diffstat:
8 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/plugins/ofono.c b/plugins/ofono.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
diff --git a/plugins/sim_hardcoded.c b/plugins/sim_hardcoded.c
@@ -19,6 +19,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <ell/ell.h>
diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/nl80211util.c b/src/nl80211util.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <linux/if_ether.h>
#include <ell/ell.h>
diff --git a/src/plugin.c b/src/plugin.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <fnmatch.h>
#include <ell/ell.h>
diff --git a/src/sae.c b/src/sae.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ell/ell.h>
#include "src/util.h"
diff --git a/src/simauth.c b/src/simauth.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/simutil.c b/src/simutil.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <errno.h>