add some very efficient utf8 routines. more to come.
[apps/madmutt.git] / lib-lib / lib-lib.h
index 6aead29..6dd3900 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef MUTT_LIB_LIB_LIB_LIB_H
 #define MUTT_LIB_LIB_LIB_LIB_H
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include "../config.h"
 #endif
 
 
 /* }}} */
 
+typedef union __attribute__((transparent_union)) anytype {
+    void  *ptr;
+    long  li;
+    int   i;
+    short si;
+} anytype;
+
 #include "mem.h"
 #include "str.h"
+#include "utf8.h"
 
 #include "array.h"
 #include "buffer.h"