bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix compilation failure in bigram.c by including <locale.h>.


From: James Youngman
Subject: [PATCH] Fix compilation failure in bigram.c by including <locale.h>.
Date: Mon, 13 Jun 2011 23:43:35 +0100

* locate/bigram.c: Include <locale.h>.
---
 ChangeLog       |    5 +++++
 locate/bigram.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9945cea..827ea60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-13  James Youngman  <address@hidden>
+
+       Fix compilation failure in bigram.c by including <locale.h>.
+       * locate/bigram.c: Include <locale.h>.
+
 2011-06-12  James Youngman  <address@hidden>
 
        Split exec-related code into a new file, exec.c
diff --git a/locate/bigram.c b/locate/bigram.c
index fb17a06..477e392 100644
--- a/locate/bigram.c
+++ b/locate/bigram.c
@@ -32,6 +32,7 @@
 
 #include <config.h>
 #include <stdio.h>
+#include <locale.h>
 
 #include <string.h>
 #include <stdlib.h>
-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]