summaryrefslogtreecommitdiff
path: root/src/gdbmapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdbmapp.h')
-rw-r--r--src/gdbmapp.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gdbmapp.h b/src/gdbmapp.h
index 0de0005..715f948 100644
--- a/src/gdbmapp.h
+++ b/src/gdbmapp.h
@@ -1,5 +1,5 @@
/* This file is part of GDBM, the GNU data base manager.
- Copyright (C) 2011 Free Software Foundation, Inc.
+ Copyright (C) 2011, 2013 Free Software Foundation, Inc.
GDBM is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -16,6 +16,10 @@
#include <stdlib.h>
#include <stdarg.h>
+#include "gettext.h"
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif
extern const char *progname;
@@ -29,7 +33,7 @@ void *emalloc (size_t size);
void *erealloc (void *ptr, size_t size);
void *ecalloc (size_t nmemb, size_t size);
void *ezalloc (size_t size);
-char *estrdup (char *str);
+char *estrdup (const char *str);
#define PARSEOPT_HIDDEN 0x01
#define PARSEOPT_ALIAS 0x02