OSDN Git Service

Georgi pointed out that some overly-pedantic C libraries require you to include both...
authorRob Landley <rob@landley.net>
Sat, 28 Apr 2012 06:22:50 +0000 (01:22 -0500)
committerRob Landley <rob@landley.net>
Sat, 28 Apr 2012 06:22:50 +0000 (01:22 -0500)
toys.h

diff --git a/toys.h b/toys.h
index aa43ae7..34cf035 100644 (file)
--- a/toys.h
+++ b/toys.h
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/mount.h>