commit | e3b171e6df244be8f7d5163ec5818406cce513f0 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sat Apr 28 01:22:50 2012 -0500 |
committer | Rob Landley <rob@landley.net> | Sat Apr 28 01:22:50 2012 -0500 |
tree | 5e0f48d7e50ece5ecc00184e7e7d32333b9445c2 | |
parent | f3b4a916525c6658e71def23ee37532b0313b663 [diff] |
Georgi pointed out that some overly-pedantic C libraries require you to include both "string.h" and "strings.h". (Most don't.)
diff --git a/toys.h b/toys.h index aa43ae7..34cf035 100644 --- 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>