1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/scilab/files/patch-aw
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

19 lines
442 B
Plaintext

--- routines/xsci/wf_f_util.c.orig Fri Dec 18 23:37:39 1998
+++ routines/xsci/wf_f_util.c Fri Dec 18 23:38:57 1998
@@ -11,4 +11,8 @@
*/
+#if defined(netbsd) || defined(freebsd)
+#include <unistd.h>
+#endif
+
#include "wf_fig.h"
#include "wf_resources.h"
@@ -66,5 +70,5 @@
get_directory()
{
-#if defined(SYSV) || defined(SVR4)
+#if defined(SYSV) || defined(SVR4) || defined(netbsd) || defined(freebsd)
extern char *getcwd();