summaryrefslogtreecommitdiff
path: root/knock/knock-el6-compilation-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'knock/knock-el6-compilation-error.patch')
-rw-r--r--knock/knock-el6-compilation-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/knock/knock-el6-compilation-error.patch b/knock/knock-el6-compilation-error.patch
new file mode 100644
index 0000000..3359ec1
--- /dev/null
+++ b/knock/knock-el6-compilation-error.patch
@@ -0,0 +1,12 @@
+diff --git a/src/list.h b/src/list.h
+index 1453b66..6874454 100644
+--- a/src/list.h
++++ b/src/list.h
+@@ -21,6 +21,7 @@
+ #ifndef _PAC_LIST_H
+ #define _PAC_LIST_H
+
++#include <limits.h>
+ #define FREELIST(p) { list_free(p); p = NULL; }
+
+ /* your average linked list */