1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/chinese/cxterm/files/cxterm_HZutil.c
Martin Wilke d33a167189 - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		118100
Submitted by:	Sunry Chen <sunrychen@gmail.com>
Approved by:	portmgr (pav)
2007-11-22 14:56:44 +00:00

19 lines
383 B
C

--- cxterm/HZutil.c.orig 1995-01-17 11:57:30.000000000 +0100
+++ cxterm/HZutil.c 2007-11-22 14:35:04.000000000 +0100
@@ -31,6 +31,7 @@
#include "HZtable.h"
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
@@ -153,6 +154,7 @@
{
#if !defined(X_NOT_POSIX) || defined(SYSV) || defined(USG)
+# include <stdlib.h>
# include <dirent.h>
#else
# include <sys/dir.h>