summaryrefslogtreecommitdiff
path: root/src/pacman/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pacman/util.h b/src/pacman/util.h
index 876f8175..2814a780 100644
--- a/src/pacman/util.h
+++ b/src/pacman/util.h
@@ -24,20 +24,20 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include <libintl.h> /* here so it doesn't need to be included elsewhere */
#include <alpm_list.h>
-/* update speed for the fill_progress based functions */
-#define UPDATE_SPEED_SEC 0.2f
-
-/* define _() as shortcut for gettext() */
#ifdef ENABLE_NLS
+#include <libintl.h> /* here so it doesn't need to be included elsewhere */
+/* define _() as shortcut for gettext() */
#define _(str) gettext(str)
#else
#define _(str) str
#endif
+/* update speed for the fill_progress based functions */
+#define UPDATE_SPEED_SEC 0.2f
+
int needs_transaction();
int getcols();
int makepath(const char *path);