$OpenBSD: patch-gen_h,v 1.2 2010/05/22 20:55:55 espie Exp $ --- gen.h.orig Thu Jan 21 21:27:33 1993 +++ gen.h Sat May 22 22:54:27 2010 @@ -11,11 +11,11 @@ static char* sccs_gen_h = "%W%%G%"; #include #include #include -/* #include */ -#include +#include +#include +/* #include */ #include #include -#include "xpm.h" /* Macro for using prototypes if ANSI C is available. @@ -32,7 +32,7 @@ static char* sccs_gen_h = "%W%%G%"; #define NO_OF_COLS 18 /* default number of columns */ #define EDITOR "xterm -e " /* editor used to edit icon file. */ -#define FORMATTER "xterm -e vi " /* text formatter for help file */ +#define FORMATTER "xterm -e man " /* text formatter for help file */ #define HELP_VIEWER " " /* viewer for help file */ #define MAXPROCS 20 @@ -76,9 +76,9 @@ typedef struct c_id{ ChildInfo ci_ptr[MAXPROCS]; -/* forward declarations */ -int fprintf(), ungetc(), fclose(), fscanf(); -char *strcpy(), *getenv(), *malloc(); +#include +#include +#include typedef int bool_t;