1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/graphics/xpaint/files/patch-ab
Steve Price 25843f0e6f Update to version 2.6.1.
PR:		23274
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-12-11 02:50:27 +00:00

21 lines
668 B
Plaintext

--- fileName.c.orig Wed Oct 4 00:11:54 2000
+++ fileName.c Wed Oct 4 00:13:04 2000
@@ -37,7 +37,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__)
+#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__FreeBSD__)
#include <dirent.h>
#else
#include <sys/dir.h>
@@ -395,7 +395,7 @@
setCWD(arg_t * arg, char *dir)
{
DIR *dirp;
-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__)
+#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__) || defined(__FreeBSD__)
struct dirent *e;
#else
struct direct *e;