Ensure memcpy is declared.
authorBruno Haible <bruno@clisp.org>
Fri, 1 Oct 2004 10:12:23 +0000 (10:12 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 1 Oct 2004 10:12:23 +0000 (10:12 +0000)
lib/ChangeLog
lib/snprintf.c

index 1bf37832ccb03daa3dcf5dc13e6ba3635c44ba38..f92f90831d01718f17a7c8cc83d19f3c005db1eb 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-01  Bruno Haible  <bruno@clisp.org>
+
+       * snprintf.c: Include <string.h>.
+
 2004-09-30  Simon Josefsson  <jas@extundo.com>
 
        * snprintf.h, snprintf.c: New files.
index 6cc44aa91a9b6424ccb1d057f912b3eee2da843a..417dd33e198b3b28356ed0850fc3db51e84915fe 100644 (file)
 /* Get specification.  */
 #include "snprintf.h"
 
+/* Get memcpy.  */
+#include <string.h>
+
 /* Get vasnprintf.  */
 #include "vasnprintf.h"
 
 /* Get MIN. */
-#include <minmax.h>
+#include "minmax.h"
 
 /* Print formatted output to string STR.  Similar to sprintf, but
    additional length SIZE limit how much is written into STR.  Returns