summaryrefslogtreecommitdiff
path: root/app-misc/geekcode/files/geekcode-1.7.3-exit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/geekcode/files/geekcode-1.7.3-exit.patch')
-rw-r--r--app-misc/geekcode/files/geekcode-1.7.3-exit.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-misc/geekcode/files/geekcode-1.7.3-exit.patch b/app-misc/geekcode/files/geekcode-1.7.3-exit.patch
new file mode 100644
index 000000000000..23eba06a52eb
--- /dev/null
+++ b/app-misc/geekcode/files/geekcode-1.7.3-exit.patch
@@ -0,0 +1,10 @@
+--- geekcode.h.orig 2003-06-30 16:47:40.000000000 +0200
++++ geekcode.h 2010-12-30 19:14:51.000000000 +0100
+@@ -22,6 +22,7 @@
+ #ifndef __INCLUDED_GEEKCODE_H__
+ #define __INCLUDED_GEEKCODE_H__
+
++#include <stdlib.h> /* exit() */
+
+ #define VERSION "1.7.3" /* Added in v1.2 */
+