mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
dca1739cb8
PR: 14877 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
20 lines
444 B
Plaintext
20 lines
444 B
Plaintext
--- ./routines/metanet/saveg.c.orig Sat Aug 8 14:01:11 1998
|
|
+++ ./routines/metanet/saveg.c Sat Aug 8 14:06:07 1998
|
|
@@ -1,4 +1,7 @@
|
|
#include <stdio.h>
|
|
#ifndef __MSC__
|
|
+#if defined(netbsd) || defined(freebsd)
|
|
+#include <sys/types.h>
|
|
+#endif
|
|
#include <dirent.h>
|
|
#endif
|
|
@@ -13,4 +16,8 @@
|
|
/** only used for x=dir[1024] **/
|
|
#define getwd(x) _getcwd(x,1024)
|
|
+#endif
|
|
+
|
|
+#if defined(netbsd) || defined(freebsd)
|
|
+#include <unistd.h>
|
|
#endif
|
|
|