[PATCH libXpm] Xpm.h public header file should be included unsing <X11/xpm.h>

Gaetan Nadon memsize at videotron.ca
Sat Dec 3 19:03:48 PST 2011


The -I directive is adjusted accordingly.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 src/Makefile.am |    2 +-
 src/XpmI.h      |    2 +-
 src/simx.c      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 297d310..ba19f78 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
 
 lib_LTLIBRARIES=libXpm.la
 
-AM_CPPFLAGS = -I$(top_srcdir)/include/X11/
+AM_CPPFLAGS = -I$(top_srcdir)/include
 AM_CFLAGS = $(CWARNFLAGS) $(XPM_CFLAGS)
 
 libXpm_la_LDFLAGS = -version-number 4:11:0 -no-undefined
diff --git a/src/XpmI.h b/src/XpmI.h
index 122aea5..5eb5d5b 100644
--- a/src/XpmI.h
+++ b/src/XpmI.h
@@ -42,7 +42,7 @@
 #ifndef XPMI_h
 #define XPMI_h
 
-#include "xpm.h"
+#include <X11/xpm.h>
 
 /*
  * lets try to solve include files
diff --git a/src/simx.c b/src/simx.c
index c76934b..de34fb8 100644
--- a/src/simx.c
+++ b/src/simx.c
@@ -38,7 +38,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
-#include "xpm.h"
+#include <X11/xpm.h>
 #include "xpmi.h"			/* for XpmMalloc */
 
 /*
-- 
1.7.4.1



More information about the xorg-devel mailing list