Guard inclusion of langinfo.h also with HAVE_LANGINFO_H,
authorJim Meyering <jim@meyering.net>
Fri, 16 Jan 1998 23:29:24 +0000 (23:29 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Jan 1998 23:29:24 +0000 (23:29 +0000)
for Irix-4.0.5.  From Kaveh Ghazi.

src/sort.c

index 206de7fca9fb17ca29c3c900e79f3b69e308dc88..509bac4a7e2aa6c17edb324f480e152ac0c4596e 100644 (file)
@@ -39,7 +39,7 @@
 #include "xstrtod.h"
 #include "xalloc.h"
 
-#ifdef ENABLE_NLS
+#if defined ENABLE_NLS && HAVE_LANGINFO_H
 # include <langinfo.h>
 #endif