#include <stdlib.h>
#include <string.h>
#include <libintl.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "gom.h"
#include "gedcom.h"
-#ifdef WITH_DMALLOC
-#include <dmalloc.h>
-#endif
-#define _(string) gettext(string)
+#define _(string) dgettext(PACKAGE, string)
#define N_(string) (string)
+#ifdef __GNUC__
#define UNUSED __attribute__((unused))
+#else
+#define UNUSED
+#endif
typedef enum {
T_NULL,