1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11/bricons/files/patch-gen.h
Martin Wilke 57f7dccc47 - Update MASTER_SITES
- Fix build with clang
- Add MAKE_JOBS_SAFE

PR:		175587
Submitted by:	Ports Fury
2013-02-04 14:24:08 +00:00

33 lines
740 B
C

--- gen.h.orig 1993-01-22 05:27:33.000000000 +0900
+++ gen.h 2013-01-12 22:14:38.000000000 +0900
@@ -1,6 +1,7 @@
static char* sccs_gen_h = "%W%%G%";
#include <stdio.h>
+#include <string.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <X11/Xos.h>
@@ -11,8 +12,8 @@
#include <X11/Xaw/MenuButton.h>
#include <X11/Shell.h>
#include <X11/Xaw/Cardinals.h>
-/* #include <stdlib.h> */
-#include <malloc.h>
+#include <stdlib.h>
+/* #include <malloc.h> */
#include <ctype.h>
#include <unistd.h>
#include "xpm.h"
@@ -76,10 +77,6 @@
ChildInfo ci_ptr[MAXPROCS];
-/* forward declarations */
-int fprintf(), ungetc(), fclose(), fscanf();
-char *strcpy(), *getenv(), *malloc();
-
typedef int bool_t;
Pixmap pix, pix2;