summaryrefslogtreecommitdiffstats
path: root/graphics/urt/files/patch-tools__rlenoise.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/urt/files/patch-tools__rlenoise.c')
-rw-r--r--graphics/urt/files/patch-tools__rlenoise.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools__rlenoise.c b/graphics/urt/files/patch-tools__rlenoise.c
new file mode 100644
index 0000000..43b8a7c
--- /dev/null
+++ b/graphics/urt/files/patch-tools__rlenoise.c
@@ -0,0 +1,19 @@
+--- tools/rlenoise.c.orig 1992-01-24 03:31:37.000000000 +0900
++++ tools/rlenoise.c 2012-10-16 00:48:26.000000000 +0900
+@@ -20,6 +20,7 @@
+ */
+
+ #include <stdio.h>
++#include <time.h>
+ #include "rle.h"
+
+ /* Change this according the value on your system. This is a crock. */
+@@ -27,7 +28,7 @@
+
+ #define MALLOC_ERR RLE_CHECK_ALLOC( cmd_name( argv ), 0, 0 )
+
+-void
++int
+ main( argc, argv )
+ int argc;
+ char ** argv;
OpenPOWER on IntegriCloud