From 823803d5937e1002d21e24b2a37ad2891e691527 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Fri, 2 Sep 2011 10:31:39 -0400 Subject: Add conditional include config.h to source files as done in libXaw Expections: TexTr.c, sharedlib.c ans generated lex and yacc C code. XawI18n.h needs HAVE_WCTYPE_H and HAVE_WCHAR_H. Signed-off-by: Gaetan Nadon --- src/Porthole.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Porthole.c') diff --git a/src/Porthole.c b/src/Porthole.c index 3d05089..feedff3 100644 --- a/src/Porthole.c +++ b/src/Porthole.c @@ -28,6 +28,9 @@ in this Software without prior written authorization from the X Consortium. * panner or scrollbar to navigate. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include /* get XtN and XtC defines */ #include /* get Xaw initialize stuff */ -- cgit v1.2.3