1998-11-10 03:11:24 +00:00
|
|
|
--- we_prog.c.orig Sat Sep 5 06:57:18 1998
|
|
|
|
+++ we_prog.c Sun Nov 8 01:53:20 1998
|
1998-05-09 18:52:44 +00:00
|
|
|
@@ -15,6 +15,9 @@
|
1997-01-29 07:22:21 +00:00
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/wait.h>
|
|
|
|
#include <signal.h>
|
1998-05-09 18:52:44 +00:00
|
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
1997-01-29 07:22:21 +00:00
|
|
|
+#include <sys/param.h>
|
|
|
|
+#endif
|
|
|
|
|
1998-05-09 18:52:44 +00:00
|
|
|
int e_run_sh(FENSTER *f);
|
|
|
|
int e_make_library(char *library, char *ofile, FENSTER *f);
|
1998-11-10 03:11:24 +00:00
|
|
|
@@ -943,7 +946,11 @@
|
|
|
|
e_prog.exedir = WpeStringMake(".");
|
1998-05-09 18:52:44 +00:00
|
|
|
if (e_prog.sys_include) FREE(e_prog.sys_include);
|
1998-11-10 03:11:24 +00:00
|
|
|
e_prog.sys_include =
|
|
|
|
- WpeStringMake("/usr/include:/usr/local/include:/usr/include/X11");
|
|
|
|
+ WpeStringMake("/usr/include:/usr/local/include"
|
1998-05-09 18:52:44 +00:00
|
|
|
+#if !defined(NO_XWINDOWS)
|
|
|
|
+ ":"X_INC
|
1997-01-29 07:22:21 +00:00
|
|
|
+#endif
|
1998-11-10 03:11:24 +00:00
|
|
|
+ );
|
1997-01-29 07:22:21 +00:00
|
|
|
if(e_prog.comp == NULL)
|
1998-11-10 03:11:24 +00:00
|
|
|
e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *));
|
1997-01-29 07:22:21 +00:00
|
|
|
else
|