summaryrefslogtreecommitdiff
path: root/math/Scilab/files/patch-ak
blob: 90053b125bf8083f9db750238948a02ecc1ad4d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./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