bug-gnulib
[Top][All Lists]
Advanced

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

Re: Add missing include to parse-duration.c.


From: Ralf Wildenhues
Subject: Re: Add missing include to parse-duration.c.
Date: Tue, 9 Dec 2008 19:48:03 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Bruce, Bruno,

* Bruce Korb wrote on Tue, Dec 09, 2008 at 05:09:38PM CET:
> Obvious enough you needn't have waited for me.  :)
> "Yes, please."

* Bruno Haible wrote on Tue, Dec 09, 2008 at 12:47:50PM CET:
> 
> This also requires an update of the module dependencies.

Thanks to both of you, pushed like this.

Cheers,
Ralf

    add missing include to parse-duration.c
    
    * lib/parse-duration.c: #include "xalloc.h", for xstrdup.
    * modules/parse-duration (Depends-on): Add xalloc.

diff --git a/lib/parse-duration.c b/lib/parse-duration.c
index 6487ba0..4c28349 100644
--- a/lib/parse-duration.c
+++ b/lib/parse-duration.c
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include "xalloc.h"
 
 #include "parse-duration.h"
 
diff --git a/modules/parse-duration b/modules/parse-duration
index e36c917..2e8f3d1 100644
--- a/modules/parse-duration
+++ b/modules/parse-duration
@@ -6,6 +6,7 @@ lib/parse-duration.h
 lib/parse-duration.c
 
 Depends-on:
+xalloc
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])




reply via email to

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