fix missing string.h in strftime.c (needed by new strftime code)
authorRich Felker <dalias@aerifal.cx>
Fri, 23 Aug 2013 12:11:43 +0000 (08:11 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 23 Aug 2013 12:11:43 +0000 (08:11 -0400)
this bug was masked by local experimental CFLAGS in my config.mak.

src/time/strftime.c

index 6b8a33f5b356112f88f8e5eff30ddd0c3a045e89..24000f3bb6346267ad05916444e14db51f866061 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <langinfo.h>
 #include <locale.h>
 #include <time.h>