* lib/mempcpy.c: Include <config.h> before <string.h>.
authorJim Meyering <jim@meyering.net>
Sat, 27 Jan 2007 07:35:49 +0000 (07:35 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 27 Jan 2007 07:35:49 +0000 (07:35 +0000)
This fixes a compilation error on HP-UX, due to the system's
"restrict"-using mempcpy prototype.

ChangeLog
lib/mempcpy.c

index a6cd225..e66395c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-27  Jim Meyering  <jim@meyering.net>
+
+       * lib/mempcpy.c: Include <config.h> before <string.h>.
+       This fixes a compilation error on HP-UX, due to the system's
+       "restrict"-using mempcpy prototype.
+
 2007-01-26  Bruno Haible  <bruno@clisp.org>
 
        Small optimization.
index af0ed45..1c702c7 100644 (file)
@@ -15,6 +15,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>
+
 /* Specification.  */
 #include <string.h>