diff options
author | Max Kellermann <max@duempel.org> | 2008-12-25 04:15:38 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-25 04:15:38 +0100 |
commit | 634bed2e83799f604a60bfef62d5e240ea02511c (patch) | |
tree | a996a63ad0cc9f7c500492275b65971842479d40 /src/main.c | |
parent | 0abf816f752baef7299f32d21406e92d49d834c0 (diff) | |
download | mpd-634bed2e83799f604a60bfef62d5e240ea02511c.tar.gz mpd-634bed2e83799f604a60bfef62d5e240ea02511c.tar.xz mpd-634bed2e83799f604a60bfef62d5e240ea02511c.zip |
i18n: don't use locale.h
Just for the _() and N_() macros, we don't need to include locale.h -
define them in i18n.h.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 67901371e..53ea8c592 100644 --- a/src/main.c +++ b/src/main.c @@ -45,6 +45,10 @@ #include <signal.h> #include <string.h> +#ifdef HAVE_LOCALE_H +#include <locale.h> +#endif + /* time between mpd updates [s] */ static const guint update_interval = 500; |