Express interest in nroff via USE_TOOLS. Expect sys/types.h to provide size_t. Fix errno. Don't define prototypes for ISO C / POSIX functions. short gets promoted to int, float to double, so use va_arg with the promoted types.
16 lines
463 B
Text
16 lines
463 B
Text
$NetBSD: patch-ah,v 1.1 2006/01/24 22:47:13 joerg Exp $
|
|
|
|
--- hdrs/elm_defs.h.orig 2006-01-24 19:52:27.000000000 +0000
|
|
+++ hdrs/elm_defs.h
|
|
@@ -103,11 +103,6 @@
|
|
# define FALSE 0
|
|
#endif
|
|
|
|
-#ifndef _SIZE_T /* not the greatest, but should work until I make Configure figure it out */
|
|
-#define _SIZE_T
|
|
-typedef unsigned long size_t;
|
|
-#endif
|
|
-
|
|
#define KLICK 32 /* increment for alias and mssg lists */
|
|
|
|
#define TLEN 10 /* super short (tiny) strings */
|