43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
diff -up ajam-2.5.2-1.3.3/execunix.c.include ajam-2.5.2-1.3.3/execunix.c
|
|
--- ajam-2.5.2-1.3.3/execunix.c.include 2012-06-22 17:53:16.769405802 +0200
|
|
+++ ajam-2.5.2-1.3.3/execunix.c 2012-06-22 17:59:09.697662990 +0200
|
|
@@ -42,6 +42,10 @@
|
|
# include "lists.h"
|
|
# include "execcmd.h"
|
|
# include <errno.h>
|
|
+# include <unistd.h>
|
|
+# include <sys/types.h>
|
|
+# include <sys/wait.h>
|
|
+
|
|
|
|
# ifdef USE_EXECUNIX
|
|
|
|
diff -up ajam-2.5.2-1.3.3/fileunix.c.include ajam-2.5.2-1.3.3/fileunix.c
|
|
--- ajam-2.5.2-1.3.3/fileunix.c.include 2012-06-22 17:53:56.998694847 +0200
|
|
+++ ajam-2.5.2-1.3.3/fileunix.c 2012-06-22 17:54:41.828845967 +0200
|
|
@@ -51,12 +51,12 @@
|
|
# include <sys/stat.h>
|
|
# endif
|
|
|
|
+# include <unistd.h>
|
|
# if defined( OS_RHAPSODY ) || \
|
|
defined( OS_MACOSX ) || \
|
|
defined( OS_NEXT )
|
|
/* need unistd for rhapsody's proper lseek */
|
|
# include <sys/dir.h>
|
|
-# include <unistd.h>
|
|
# define STRUCT_DIRENT struct direct
|
|
# else
|
|
# include <dirent.h>
|
|
diff -up ajam-2.5.2-1.3.3/make1.c.include ajam-2.5.2-1.3.3/make1.c
|
|
--- ajam-2.5.2-1.3.3/make1.c.include 2012-06-22 17:59:36.178959199 +0200
|
|
+++ ajam-2.5.2-1.3.3/make1.c 2012-06-22 18:00:04.299195472 +0200
|
|
@@ -50,6 +50,7 @@
|
|
*/
|
|
|
|
# include "jam.h"
|
|
+# include <unistd.h>
|
|
|
|
# include "lists.h"
|
|
# include "parse.h"
|