aboutsummaryrefslogtreecommitdiff
path: root/x11/lupe/files/patch-lupe.c
blob: 43505614fbc5e20921b81251dec6c60d56f058c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- lupe.c.orig	1999-05-29 18:08:12.000000000 +0900
+++ lupe.c	2012-10-07 20:03:55.000000000 +0900
@@ -19,6 +19,10 @@
 #include "version.h"
 #include "timer.h"
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #ifdef HAVE_STRING_H
 #include <string.h>
 #else
@@ -339,7 +343,7 @@
   photo_delay *= 1000;		/* sec. to millisec. */
 }
 
-void main(argc, argv)
+int main(argc, argv)
      int argc;
      char **argv;
 {