]> granicus.if.org Git - sudo/commitdiff
always include strings.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Dec 1993 06:12:34 +0000 (06:12 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 6 Dec 1993 06:12:34 +0000 (06:12 +0000)
check.c
find_path.c

diff --git a/check.c b/check.c
index 3751a23020a04c7f149117bab6f4ecc9af19a3c8..16c55bb73e8838d982f31c3be63b8597022f62dc 100644 (file)
--- a/check.c
+++ b/check.c
@@ -41,9 +41,7 @@ static char rcsid[] = "$Id$";
 
 #include <stdio.h>
 #include <string.h>
-#ifndef STD_HEADERS
 #include <strings.h>
-#endif /* !STD_HEADERS */
 #include <fcntl.h>
 #include <sys/param.h>
 #include <sys/types.h>
index 7711c77ccfc186eff5049ec05ba920de4390a01c..ae3ffc981ae961c5b9a59417538b337eeb2ef689 100644 (file)
@@ -51,10 +51,9 @@ static char rcsid[] = "$Id$";
 #include <stdio.h>
 #ifdef STD_HEADERS
 #include <stdlib.h>
-#else
-#include <strings.h>
 #endif /* STD_HEADERS */
 #include <string.h>
+#include <strings.h>
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/param.h>