summaryrefslogtreecommitdiff
path: root/src/XawI18n.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-08-02 00:30:15 -0400
committerMatt Turner <mattst88@gmail.com>2011-08-02 00:30:15 -0400
commit9edc780fc72c1dac9a1d9385cc74abf487a5d1bd (patch)
treea974dabbcd9a501258ee6af0d52fc78e7d4e155d /src/XawI18n.h
parent017fcf81745d7a58a57a040fce86063719431f60 (diff)
Fix implicit function declarations.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/XawI18n.h')
-rw-r--r--src/XawI18n.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/XawI18n.h b/src/XawI18n.h
index 70ae4e2..4c22717 100644
--- a/src/XawI18n.h
+++ b/src/XawI18n.h
@@ -25,15 +25,17 @@ in this Software without prior written authorization from the X Consortium.
********************************************************/
-#ifdef HAS_WCTYPE_H
+#ifdef HAVE_WCTYPE_H
#include <wctype.h>
+#ifdef HAVE_WIDEC_H
#include <widec.h>
+#endif
#define wcslen(c) wslen(c)
#define wcscpy(d,s) wscpy(d,s)
#define wcsncpy(d,s,l) wsncpy(d,s,l)
#endif
-#ifdef HAS_WCHAR_H
+#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
@@ -68,7 +70,7 @@ extern wchar_t _Xaw_atowc (
#endif
);
-#ifndef HAS_ISW_FUNCS
+#ifndef HAVE_ISW_FUNCS
#include <ctype.h>
#ifndef iswspace
#define iswspace(c) (isascii(c) && isspace(toascii(c)))