1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/vietnamese/vnless/files/patch-02
David E. O'Brien a327c7c4dc VNless is a port of a very old version of GNU's less that suports the display
of files written in the Vietnamese language using the VISCII (VIetnamese
Standard Code for Information Interchange) encoding.
1996-12-06 12:38:53 +00:00

28 lines
557 B
Plaintext

--- less.h.orig Mon Feb 24 12:45:38 1992
+++ less.h Wed Dec 4 02:35:12 1996
@@ -31,7 +31,11 @@
* The type of signal handler functions.
* Usually int, although it should be void.
*/
+#if VOID
+typedef void HANDLER;
+#else
typedef int HANDLER;
+#endif
#define FILENAME 128 /* Max size of a filename */
@@ -74,7 +78,12 @@
#define SIGNAL(sig,func) signal(sig,func)
/* Library function declarations */
+#ifdef USE_FBSD_STD_HDRS
offset_t lseek();
char *calloc();
+#else
+#include <stdlib.h>
+#include <unistd.h>
+#endif
#include "funcs.h"