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