changeset 574:d8effa95a5f0

Georgi pointed out that some overly-pedantic C libraries require you to include both "string.h" and "strings.h". (Most don't.)
author Rob Landley <rob@landley.net>
date Sat, 28 Apr 2012 01:22:50 -0500
parents c42ed3601b35
children 953c22158c2e
files toys.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/toys.h	Thu Apr 26 19:59:38 2012 -0500
+++ b/toys.h	Sat Apr 28 01:22:50 2012 -0500
@@ -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>