mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
17fa90d0d0
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> PR: ports/17464
21 lines
676 B
Plaintext
21 lines
676 B
Plaintext
--- fileName.c.orig Wed Feb 25 05:38:43 1998
|
|
+++ fileName.c Fri Mar 17 00:46:02 2000
|
|
@@ -37,7 +37,7 @@
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN32__)
|
|
+#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN32__) || defined(__FreeBSD__)
|
|
#include <dirent.h>
|
|
#else
|
|
#include <sys/dir.h>
|
|
@@ -375,7 +375,7 @@
|
|
setCWD(arg_t * arg, char *dir)
|
|
{
|
|
DIR *dirp;
|
|
-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN32__)
|
|
+#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN32__) || defined(__FreeBSD__)
|
|
struct dirent *e;
|
|
#else
|
|
struct direct *e;
|