summaryrefslogtreecommitdiff
path: root/math/Scilab/files/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'math/Scilab/files/patch-as')
-rw-r--r--math/Scilab/files/patch-as30
1 files changed, 17 insertions, 13 deletions
diff --git a/math/Scilab/files/patch-as b/math/Scilab/files/patch-as
index 24885706a4ed..db85ef964f7b 100644
--- a/math/Scilab/files/patch-as
+++ b/math/Scilab/files/patch-as
@@ -1,13 +1,17 @@
-*** ./routines/metanet/saveg.c.old Sun Jun 22 16:56:33 1997
---- ./routines/metanet/saveg.c Sun Jun 22 16:56:53 1997
-***************
-*** 1,5 ****
---- 1,8 ----
- #include <stdio.h>
- #ifndef __MSC__
-+ #ifdef __FreeBSD__
-+ #include <sys/types.h>
-+ #endif
- #include <dirent.h>
- #endif
- #include <string.h>
+--- ./xmetanet/init.c.orig Sat Aug 8 13:47:04 1998
++++ ./xmetanet/init.c Sat Aug 8 14:18:41 1998
+@@ -1,6 +1,14 @@
+ /* Copyright INRIA */
++#if defined(freebsd) || defined(netbsd)
++#include <sys/types.h>
++#endif
++
+ #include <dirent.h>
+ #include <stdlib.h>
+ #include <string.h>
++
++#if defined(netbsd) || defined(freebsd)
++#include <unistd.h>
++#endif
+
+ #include "list.h"