12345678910111213141516171819202122 |
- $OpenBSD: patch-fileName_c,v 1.2 2005/10/31 23:24:19 naddy Exp $
- --- fileName.c.orig Wed Aug 17 14:31:56 2005
- +++ fileName.c Tue Nov 1 00:03:27 2005
- @@ -39,7 +39,7 @@
- #include <stdio.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- -#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS )
- +#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) || defined(__FreeBSD__) || defined(__OpenBSD__)
- #include <dirent.h>
- #else
- #include <sys/dir.h>
- @@ -461,7 +461,7 @@ static void
- 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__) || defined(__OpenBSD__)
- struct dirent *e;
- #else
- struct direct *e;
|