Commit Diff


commit - 688c2751dfe57da18dd612a2014522cf17976b73
commit + 4f9834be61da935505c0e4eccd34a05b1e2c5fc3
blob - e346a5bf8e04ed1157da348a1ff1ffa2e7f47ea7
blob + 04ccfadd174853bdfc17da6c797c5a366d817779
--- configure.ac
+++ configure.ac
@@ -173,8 +173,7 @@ fi
 dnl Checks for header files.
 AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(fcntl.h sys/file.h unistd.h paths.h \
-		 sys/param.h sys/select.h \
-		 wchar.h wctype.h locale.h netdb.h)
+		 sys/param.h sys/select.h locale.h netdb.h)
 AC_CHECK_HEADER([execinfo.h], [AC_DEFINE(HAVE_BACKTRACE,1,[Has backtrace*() needed for retrieving stack traces])])
 AC_SEARCH_LIBS(backtrace_symbols, [execinfo])
 
blob - 74e50575487d64ba976ca0d3f7ef8b1732eb78b2
blob + 25f7b21aa1daac30ea03523ad148eed1cb18c982
--- src/addr_compl.c
+++ src/addr_compl.c
@@ -30,10 +30,8 @@
 
 #include <string.h>
 #include <ctype.h>
-#if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
-#  include <wchar.h>
-#  include <wctype.h>
-#endif
+#include <wchar.h>
+#include <wctype.h>
 
 #include "addr_compl.h"
 #include "addritem.h"
blob - 4e403092f7d47cf3911579c95d2a6a20f874512c
blob + 3ad69a48e4bb4232ba7a2500e13d7a477de45899
--- src/common/utils.c
+++ src/common/utils.c
@@ -47,10 +47,8 @@
 #include <sys/param.h>
 #include <sys/socket.h>
 
-#if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
-#  include <wchar.h>
-#  include <wctype.h>
-#endif
+#include <wchar.h>
+#include <wctype.h>
 #include <stdlib.h>
 #include <stdint.h>
 #include <sys/stat.h>
blob - 9e2b852d42ca77d40a41adb5ffe9f0686f181552
blob + 197bf8651727fd9ce9d0a20674f97391f4d2845b
--- src/common/utils.h
+++ src/common/utils.h
@@ -42,9 +42,7 @@
 #if HAVE_ALLOCA_H
 #  include <alloca.h>
 #endif
-#if HAVE_WCHAR_H
-#  include <wchar.h>
-#endif
+#include <wchar.h>
 
 /* The Hurd doesn't have these limits */
 #ifndef PATH_MAX
blob - 37345d8d7786f9bb70be99b5efd08a9f8f4b9f92
blob + 3bdd4c096c9790b559a96242f6d5b746c4174231
--- src/compose.c
+++ src/compose.c
@@ -47,15 +47,12 @@
 #if HAVE_SYS_WAIT_H
 #  include <sys/wait.h>
 #endif
+#include <wchar.h>
+#include <wctype.h>
 #include <signal.h>
 #include <errno.h>
 #include <libgen.h>
 
-#if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
-#  include <wchar.h>
-#  include <wctype.h>
-#endif
-
 #include "claws.h"
 #include "main.h"
 #include "mainwindow.h"
blob - 6ec5e97f32e1a435fafe8c856cbe36832613da24
blob + d66619c8914e396d3de0f25834feda26d8778fb5
--- src/gtk/gtkutils.c
+++ src/gtk/gtkutils.c
@@ -30,14 +30,11 @@
 #include <stdlib.h>
 #include <stdarg.h>
 #include <sys/stat.h>
+#include <wchar.h>
+#include <wctype.h>
 
 #include "combobox.h"
 
-#if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
-#  include <wchar.h>
-#  include <wctype.h>
-#endif
-
 #include "defs.h"
 #include "gtkutils.h"
 #include "utils.h"
blob - 73b8188dcfada45a6b8ce0719621b0c428de55b5
blob + 7e3809844c6ac1ad7613d9a772e20cbc6163df65
--- src/gtk/gtkutils.h
+++ src/gtk/gtkutils.h
@@ -27,9 +27,7 @@
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 #include <stdlib.h>
-#if HAVE_WCHAR_H
-#  include <wchar.h>
-#endif
+#include <wchar.h>
 
 #include "gtkcmctree.h"