aboutsummaryrefslogtreecommitdiff
path: root/src/lib9
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9')
-rw-r--r--src/lib9/fmt/runevsmprint.c1
-rw-r--r--src/lib9/fmt/vsmprint.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib9/fmt/runevsmprint.c b/src/lib9/fmt/runevsmprint.c
index a4062a10..19a4654d 100644
--- a/src/lib9/fmt/runevsmprint.c
+++ b/src/lib9/fmt/runevsmprint.c
@@ -22,6 +22,7 @@
#include "fmtdef.h"
#else
#include <stdlib.h>
+#include <string.h>
#include "plan9.h"
#include "fmt.h"
#include "fmtdef.h"
diff --git a/src/lib9/fmt/vsmprint.c b/src/lib9/fmt/vsmprint.c
index 159b74cb..99cd0e32 100644
--- a/src/lib9/fmt/vsmprint.c
+++ b/src/lib9/fmt/vsmprint.c
@@ -22,6 +22,7 @@
#include "fmtdef.h"
#else
#include <stdlib.h>
+#include <string.h>
#include "plan9.h"
#include "fmt.h"
#include "fmtdef.h"