From 6df833129960f8c852793933c92ef4d7eba88f3a Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Thu, 13 Jun 2013 11:38:59 +0200
Subject: [PATCH] Some double include protections.

---
 src/bignum.h         | 6 +++---
 src/module_support.h | 1 +
 src/pike_security.h  | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/bignum.h b/src/bignum.h
index 4ba0795202..818daaaf96 100644
--- a/src/bignum.h
+++ b/src/bignum.h
@@ -4,12 +4,12 @@
 || for more information.
 */
 
-#include "global.h"
-#include "pike_int_types.h"
-
 #ifndef BIGNUM_H
 #define BIGNUM_H
 
+#include "global.h"
+#include "pike_int_types.h"
+
 /* Note: These functions assume some properties of the CPU. */
 
 #define INT_TYPE_SIGN(x)             ((x) < 0)
diff --git a/src/module_support.h b/src/module_support.h
index 4c0145fdef..ba389e2cf1 100644
--- a/src/module_support.h
+++ b/src/module_support.h
@@ -5,6 +5,7 @@
 */
 
 #ifndef MODULE_SUPPORT_H
+#define MODULE_SUPPORT_H
 
 #include "module.h"
 
diff --git a/src/pike_security.h b/src/pike_security.h
index b53ce65f14..557773d160 100644
--- a/src/pike_security.h
+++ b/src/pike_security.h
@@ -4,11 +4,11 @@
 || for more information.
 */
 
-#include "global.h"
-
 #ifndef SECURITY_H
 #define SECURITY_H
 
+#include "global.h"
+
 #ifdef PIKE_SECURITY
 #include "object.h"
 
-- 
GitLab