opnsense-ports/graphics/urt/files/patch-tools__rlenoise.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
417 B
C

--- 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;