]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Assume <stdlib.h> exists.
authorBruno Haible <bruno@clisp.org>
Mon, 31 Jul 2006 16:12:22 +0000 (16:12 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:43 +0000 (12:13 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/xreadlink.c

index 5abd81bb472a1b42dc4965693854cc8078b827c3..2710396e51944c3609aa1aaa5c784e3fb9d1e2a7 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * xreadlink.c: Assume <stdlib.h> exists.
+
 2006-07-29  Bruno Haible  <bruno@clisp.org>
 
        * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
index fd79da1ce2a432690d655be2953b5ab536185135..0331f39bb1048cef5e9fdcb6eb537b11938e6d5b 100644 (file)
@@ -1,6 +1,6 @@
 /* xreadlink.c -- readlink wrapper to return the link name in malloc'd storage
 
-   Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2003, 2005-2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -32,9 +32,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <sys/types.h>
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif