diff options
Diffstat (limited to 'wm/olvwm/patches/patch-am')
-rw-r--r-- | wm/olvwm/patches/patch-am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/wm/olvwm/patches/patch-am b/wm/olvwm/patches/patch-am new file mode 100644 index 00000000000..c80af3a9a50 --- /dev/null +++ b/wm/olvwm/patches/patch-am @@ -0,0 +1,29 @@ +$NetBSD: patch-am,v 1.1 2006/01/19 23:15:59 joerg Exp $ + +--- gettext.c.orig 1998-01-13 21:01:04.000000000 +0000 ++++ gettext.c +@@ -11,18 +11,21 @@ + * LEGAL_NOTICE file for terms of the license. + */ + ++#include <sys/types.h> ++#include <sys/mman.h> ++#include <stdio.h> ++#include <stdlib.h> ++#include <string.h> ++ + #include "gettext.h" + + #ifdef SYSV + #define bzero(a,b) memset(a,0,b) + #endif + +-char *malloc(), *strdup(); + char * dgettext(); + char *_gettext(); + char *in_path(); +-char *fgets(), *getenv(); +-caddr_t mmap(), calloc(); + + #ifdef NOT + static struct domain_binding *firstbind=0, *lastbind=0; |