]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Use #elif where appropriate to make chaining of #if ... #else ...
[wget] / src / main.c
index 43496dcf00ee0c77d49b7a792af22dddf01e0f3d..414c1cadc0238249662bb8ed61f0c89f10479a1e 100644 (file)
@@ -36,11 +36,9 @@ so, delete this exception statement from your version.  */
 #endif /* HAVE_UNISTD_H */
 #include <string.h>
 #include <signal.h>
-#ifdef HAVE_NLS
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_NLS) && defined(HAVE_LOCALE_H)
 # include <locale.h>
-#endif /* HAVE_LOCALE_H */
-#endif /* HAVE_NLS */
+#endif
 #include <assert.h>
 #include <errno.h>