summaryrefslogtreecommitdiff
path: root/data/cwidget/xopen.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-07-07 10:53:46 +0000
committerJay Freeman <saurik@saurik.com>2009-07-07 10:53:46 +0000
commit6cb4d46de4c28fb0c75279e807b10241781f5ff9 (patch)
tree10c230890b1a1672f63dcbb88536f71cd36a23f6 /data/cwidget/xopen.diff
parent89173808ba701ce78288c7316d65048388710580 (diff)
Upgraded Aptitude for 3.x.
git-svn-id: http://svn.telesphoreo.org/trunk@631 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/cwidget/xopen.diff')
-rw-r--r--data/cwidget/xopen.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/cwidget/xopen.diff b/data/cwidget/xopen.diff
new file mode 100644
index 000000000..d657f7698
--- /dev/null
+++ b/data/cwidget/xopen.diff
@@ -0,0 +1,26 @@
+diff -ru cwidget-0.5.8/src/cwidget/curses++.h cwidget-0.5.8+iPhone/src/cwidget/curses++.h
+--- cwidget-0.5.8/src/cwidget/curses++.h 2008-01-20 17:37:06.000000000 +0000
++++ cwidget-0.5.8+iPhone/src/cwidget/curses++.h 2009-07-07 07:28:31.000000000 +0000
+@@ -22,6 +22,9 @@
+ #ifndef CURSES_PLUSPLUS_H
+ #define CURSES_PLUSPLUS_H
+
++#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE_EXTENDED 1
++
+ #include <string>
+ #include <ncursesw/curses.h>
+
+diff -ru cwidget-0.5.8/src/cwidget/style.h cwidget-0.5.8+iPhone/src/cwidget/style.h
+--- cwidget-0.5.8/src/cwidget/style.h 2008-01-20 17:37:06.000000000 +0000
++++ cwidget-0.5.8+iPhone/src/cwidget/style.h 2009-07-07 07:28:42.000000000 +0000
+@@ -20,6 +20,9 @@
+ #ifndef STYLE_H
+ #define STYLE_H
+
++#define _XOPEN_SOURCE
++#define _XOPEN_SOURCE_EXTENDED 1
++
+ #include <ncursesw/curses.h>
+
+ #include <cwidget/curses++.h>