From ca354885818e902a7fb5efe4fbe69962a261d1ca Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:43:41 -0700 Subject: [PATCH] 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. --- 2000/jarijyrki/README.md | 5 +++++ 2000/jarijyrki/jarijyrki.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/2000/jarijyrki/README.md b/2000/jarijyrki/README.md index d1289678c..31347f67b 100644 --- a/2000/jarijyrki/README.md +++ b/2000/jarijyrki/README.md @@ -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 diff --git a/2000/jarijyrki/jarijyrki.c b/2000/jarijyrki/jarijyrki.c index cf6e18294..067218ba3 100644 --- a/2000/jarijyrki/jarijyrki.c +++ b/2000/jarijyrki/jarijyrki.c @@ -1,6 +1,6 @@ #include -#include -#include +#include +#include #define b(b)XDraw##b(i,J,k, #define l :q== #define o if(