aboutsummaryrefslogtreecommitdiff
path: root/deskutils/aspostit/files
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/aspostit/files')
-rw-r--r--deskutils/aspostit/files/patch-xpostit.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/deskutils/aspostit/files/patch-xpostit.c b/deskutils/aspostit/files/patch-xpostit.c
new file mode 100644
index 000000000000..943e94175240
--- /dev/null
+++ b/deskutils/aspostit/files/patch-xpostit.c
@@ -0,0 +1,19 @@
+--- xpostit.c.orig 1999-01-08 06:10:27.000000000 +0900
++++ xpostit.c 2012-10-24 01:06:04.000000000 +0900
+@@ -32,6 +32,7 @@
+ #include <X11/Xaw/SimpleMenu.h>
+ #include <signal.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "xpostit.h"
+ #include "version.h"
+@@ -130,7 +131,7 @@
+ unsigned long timer_interval; /* auto-save interval */
+ unsigned long alarm_interval; /* alarm check interval */
+
+-void main(argc, argv)
++int main(argc, argv)
+ char **argv;
+ int argc;
+ {