[PATCH:xrandr 1/2] Protect config.h like usual.

2013-06-02 Thread Thomas Klausner
--- xrandr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xrandr.c b/xrandr.c index 94e5c2e..da786cb 100644 --- a/xrandr.c +++ b/xrandr.c @@ -41,7 +41,9 @@ #include #include +#ifdef HAVE_CONFIG_H #include "config.h" +#endif static char*program_name; static Display *dpy; --

Re: [PATCH:xrandr 1/2] Protect config.h like usual.

2013-06-02 Thread Alan Coopersmith
On 06/ 2/13 12:30 PM, Thomas Klausner wrote: --- xrandr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xrandr.c b/xrandr.c index 94e5c2e..da786cb 100644 --- a/xrandr.c +++ b/xrandr.c @@ -41,7 +41,9 @@ #include #include +#ifdef HAVE_CONFIG_H #include "config.h" +#endif stat