From ab2d993f23e95154e208e5a8e1145c322ac51481 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Sat, 21 Dec 2013 21:20:43 +0100
Subject: [PATCH] Added #pike

---
 lib/modules/Crypto.pmod/CTR.pmod                   | 3 +++
 lib/modules/Crypto.pmod/GCM.pmod                   | 3 +++
 lib/modules/Debug.pmod/Profiling.pmod              | 1 +
 lib/modules/NetUtils.pmod                          | 1 +
 lib/modules/Pike.pmod/Watchdog.pike                | 2 ++
 lib/modules/Tools.pmod/Shoot.pmod/BinaryTrees.pike | 2 ++
 6 files changed, 12 insertions(+)

diff --git a/lib/modules/Crypto.pmod/CTR.pmod b/lib/modules/Crypto.pmod/CTR.pmod
index 20e23a1532..7463d54379 100644
--- a/lib/modules/Crypto.pmod/CTR.pmod
+++ b/lib/modules/Crypto.pmod/CTR.pmod
@@ -1,3 +1,6 @@
+#pike __REAL_VERSION__
+#pragma strict_types
+
 #if constant(Nettle.CTR)
 //! Implementation of Counter Mode (CTR). Works as
 //! a wrapper for the cipher algorithm put in create.
diff --git a/lib/modules/Crypto.pmod/GCM.pmod b/lib/modules/Crypto.pmod/GCM.pmod
index f7f281a1c4..d7dbd756f8 100644
--- a/lib/modules/Crypto.pmod/GCM.pmod
+++ b/lib/modules/Crypto.pmod/GCM.pmod
@@ -1,3 +1,6 @@
+#pike __REAL_VERSION__
+#pragma strict_types
+
 #if constant(Nettle.GCM)
 //! Implementation of the Galois Counter Mode (GCM). Works as
 //! a wrapper for the cipher algorithm put in create.
diff --git a/lib/modules/Debug.pmod/Profiling.pmod b/lib/modules/Debug.pmod/Profiling.pmod
index a9dffb9c18..b2acc49d3e 100644
--- a/lib/modules/Debug.pmod/Profiling.pmod
+++ b/lib/modules/Debug.pmod/Profiling.pmod
@@ -1,4 +1,5 @@
 /* -*- Mode: pike; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+#pike __REAL_VERSION__
 
 #if constant(get_profiling_info)
 private multiset(program) object_programs() 
diff --git a/lib/modules/NetUtils.pmod b/lib/modules/NetUtils.pmod
index 9772afcc32..aee5942a01 100644
--- a/lib/modules/NetUtils.pmod
+++ b/lib/modules/NetUtils.pmod
@@ -1,4 +1,5 @@
 /* -*- Mode: pike; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+#pike __REAL_VERSION__
 
 //! Various networking-related utility functions.
 
diff --git a/lib/modules/Pike.pmod/Watchdog.pike b/lib/modules/Pike.pmod/Watchdog.pike
index 63814cfcd1..292a35ad9a 100644
--- a/lib/modules/Pike.pmod/Watchdog.pike
+++ b/lib/modules/Pike.pmod/Watchdog.pike
@@ -1,3 +1,5 @@
+#pike __REAL_VERSION__
+
 //! A Watchdog that ensures that the process is not hung for an
 //! extended period of time. The definition of 'hung' is: Has not used
 //! the default backend.
diff --git a/lib/modules/Tools.pmod/Shoot.pmod/BinaryTrees.pike b/lib/modules/Tools.pmod/Shoot.pmod/BinaryTrees.pike
index c46658633d..cc3d7ab6aa 100644
--- a/lib/modules/Tools.pmod/Shoot.pmod/BinaryTrees.pike
+++ b/lib/modules/Tools.pmod/Shoot.pmod/BinaryTrees.pike
@@ -1,3 +1,5 @@
+#pike __REAL_VERSION__
+
 inherit Tools.Shoot.Test;
 
 constant name = "Binary Trees";
-- 
GitLab