blob: 780d5ddab995977a1c8047d91d41b7ef284c1765 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- we_prog.c.orig Sat Sep 5 06:57:18 1998
+++ we_prog.c Sun Nov 8 01:53:20 1998
@@ -15,6 +15,9 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
int e_run_sh(FENSTER *f);
int e_make_library(char *library, char *ofile, FENSTER *f);
@@ -943,7 +946,11 @@
e_prog.exedir = WpeStringMake(".");
if (e_prog.sys_include) FREE(e_prog.sys_include);
e_prog.sys_include =
- WpeStringMake("/usr/include:/usr/local/include:/usr/include/X11");
+ WpeStringMake("/usr/include:/usr/local/include"
+#if !defined(NO_XWINDOWS)
+ ":"X_INC
+#endif
+ );
if(e_prog.comp == NULL)
e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *));
else
|