mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
dca1739cb8
PR: 14877 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
19 lines
442 B
Plaintext
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();
|
|
|