Make 2000/jarijyrki compile without -I option
The includes for the X11 header files omitted the X11 and this means running make will fail even if one has the files in a place that's in the include path (default or via -I option). Of course if one has X11 include files in a non-standard location (or where the compiler doesn't look) they'll still have to use the -I option.
This commit is contained in:
1 parent
2946cf1982
commit
ca35488581
2 files changed
+7
-2
No files matched your search
@@ -22,6 +22,11 @@ make
|
||||
|
||||
You will need X11 header files and libraries installed to build this program.
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made it easier to
|
||||
compile this by adding `X11/` to the includes of `Xlib.h` and `keysym.h`. Thank
|
||||
you Cody!
|
||||
|
||||
|
||||
### To run:
|
||||
|
||||
```sh
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include<stdlib.h>
|
||||
#include<Xlib.h>
|
||||
#include<keysym.h>
|
||||
#include<X11/Xlib.h>
|
||||
#include<X11/keysym.h>
|
||||
#define b(b)XDraw##b(i,J,k,
|
||||
#define l :q==
|
||||
#define o if(
|
||||
|
||||
Reference in new issue
Block a user