summaryrefslogtreecommitdiffstats
path: root/server/util/util.h
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-10-08 21:18:30 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-10-22 13:56:22 -0400
commitdc35d48c98e78116a8393f6fa432d38c2622c02b (patch)
tree8de8695817b703b349c322cfb9a59151e50f6d05 /server/util/util.h
parentaf40ddb7f307b84dc7f983fd420475809bda0851 (diff)
downloadsssd-dc35d48c98e78116a8393f6fa432d38c2622c02b.tar.gz
sssd-dc35d48c98e78116a8393f6fa432d38c2622c02b.tar.xz
sssd-dc35d48c98e78116a8393f6fa432d38c2622c02b.zip
Delete sssd-i18n.h and put it's old contents into util.h
Also include talloc.h, tevent.h and ldb.h as system headers in util.h.
Diffstat (limited to 'server/util/util.h')
-rw-r--r--server/util/util.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/server/util/util.h b/server/util/util.h
index a9d255328..9a27ae559 100644
--- a/server/util/util.h
+++ b/server/util/util.h
@@ -27,19 +27,25 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <libintl.h>
#include <limits.h>
+#include <locale.h>
#include <time.h>
#include <pcre.h>
+
#include "config.h"
-#include "talloc.h"
-#include "tevent.h"
-#include "ldb.h"
+
+#include <talloc.h>
+#include <tevent.h>
+#include <ldb.h>
#ifndef HAVE_ERRNO_T
#define HAVE_ERRNO_T
typedef int errno_t;
#endif
+#define _(STRING) gettext (STRING)
+
extern const char *debug_prg_name;
extern int debug_level;
extern int debug_timestamps;