Make it possible to #define gcd to an alias.
authorBruno Haible <bruno@clisp.org>
Wed, 11 Oct 2006 12:40:44 +0000 (12:40 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 11 Oct 2006 12:40:44 +0000 (12:40 +0000)
ChangeLog
lib/gcd.c

index 80098df..4a24646 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-10-10  Bruno Haible  <bruno@clisp.org>
 
+       Make it possible to #define gcd to an alias.
+       * lib/gcd.c: Include config.h.
+
+2006-10-10  Bruno Haible  <bruno@clisp.org>
+
        Make it possible to #define c_isascii to an alias.
        * lib/c-ctype.h: Don't define the macros if NO_C_CTYPE_MACROS is
        defined. Undefine the macros before defining them, to avoid gcc
index 96f556b..539c84d 100644 (file)
--- a/lib/gcd.c
+++ b/lib/gcd.c
@@ -16,6 +16,8 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
+#include <config.h>
+
 /* This file can also be used to define gcd functions for other unsigned
    types, such as 'unsigned long long' or 'uintmax_t'.  */
 #ifndef WORD_T