diff lib/snprintf.c @ 5288:553713ba9dac

Ensure memcpy is declared.
author Bruno Haible <bruno@clisp.org>
date Fri, 01 Oct 2004 10:12:23 +0000 (2004-10-01)
parents 149d795beeb2
children a32d2a4a925f
line wrap: on
line diff
--- a/lib/snprintf.c
+++ b/lib/snprintf.c
@@ -23,11 +23,14 @@
 /* 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