summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-16 23:29:24 +0000
committerJim Meyering <jim@meyering.net>1998-01-16 23:29:24 +0000
commit96be8bca9994db48d8a4388c14397cd9e1d7d033 (patch)
treeb132ebcb5c283d8d1ba8da2b969c50220976950d
parentb8a16a3f2a9fefe70a4339f30602ebb5a718f524 (diff)
downloadcoreutils-96be8bca9994db48d8a4388c14397cd9e1d7d033.tar.xz
Guard inclusion of langinfo.h also with HAVE_LANGINFO_H,
for Irix-4.0.5. From Kaveh Ghazi.
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index 206de7fca..509bac4a7 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -39,7 +39,7 @@
#include "xstrtod.h"
#include "xalloc.h"
-#ifdef ENABLE_NLS
+#if defined ENABLE_NLS && HAVE_LANGINFO_H
# include <langinfo.h>
#endif