1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/Scilab/files/patch-ak

20 lines
444 B
Plaintext
Raw Normal View History

--- ./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