#define MUTT_LIB_LIB_LIB_LIB_H
#ifdef HAVE_CONFIG_H
-# include "../config.h"
+# include <config.h>
#endif
#ifndef __GNUC__
#elif HAVE_INTTYPES_H
# include <inttypes.h>
#endif
+#include <stdbool.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# undef _
#endif
-#ifdef ENABLE_NLS
+#ifdef HAVE_LIBIDN
# include <libintl.h>
#define _(a) (gettext(a))
# ifdef gettext_noop
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#define __must_check__ __attribute__((warn_unused_result))
+#define IGNORE(expr) do { if (expr) (void)0; } while (0)
+
+#define __init __attribute__((__used__,__constructor__))
+#define __fini __attribute__((__used__,__destructor__))
+
/* }}} */
typedef union __attribute__((transparent_union)) anytype {
#include "utf8.h"
#include "array.h"
+#include "bits.h"
#include "buffer.h"
-#include "date.h"
#include "file.h"
#include "hash.h"
#include "list.h"