summaryrefslogtreecommitdiff
path: root/src/MenuButton.c
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-09-02 10:31:39 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-09-04 21:01:25 -0400
commit823803d5937e1002d21e24b2a37ad2891e691527 (patch)
tree6e3b4e98061468c9121ab04cf48c4d7c6ceb0b1a /src/MenuButton.c
parentc1918447b25e0ac2f4fc5311bb6a8527cf74d168 (diff)
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 <memsize@videotron.ca>
Diffstat (limited to 'src/MenuButton.c')
-rw-r--r--src/MenuButton.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/MenuButton.c b/src/MenuButton.c
index ac821b1..4407d6b 100644
--- a/src/MenuButton.c
+++ b/src/MenuButton.c
@@ -44,6 +44,9 @@ in this Software without prior written authorization from the X Consortium.
* kit@expo.lcs.mit.edu
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdio.h>
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>