1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/math/Scilab/files/patch-ak
Steve Price dca1739cb8 Update to version 2.4.1.
PR:		14877
Submitted by:	Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
1999-11-27 01:38:31 +00:00

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