diff options
author | peter <peter@FreeBSD.org> | 2003-07-26 04:02:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-07-26 04:02:22 +0000 |
commit | b39888292e89b0de94bcba0706db456f860b2daf (patch) | |
tree | 377f588a55dc9a7f7a2deecdb9241fa46d3d45b5 /contrib | |
parent | 0cffd21856e70a6d1008fd25863895fa527fdfd3 (diff) | |
download | FreeBSD-src-b39888292e89b0de94bcba0706db456f860b2daf.zip FreeBSD-src-b39888292e89b0de94bcba0706db456f860b2daf.tar.gz |
Use #include <string.h> rather than <strings.h> so that the strdup()
prototype gets brought into scope. This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.
Reviewed by: bp
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/smbfs/lib/smb/rap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/smbfs/lib/smb/rap.c b/contrib/smbfs/lib/smb/rap.c index 952f666..2f8dbee 100644 --- a/contrib/smbfs/lib/smb/rap.c +++ b/contrib/smbfs/lib/smb/rap.c @@ -30,6 +30,7 @@ * SUCH DAMAGE. * * $Id: rap.c,v 1.8 2001/02/24 15:56:05 bp Exp $ + * $FreeBSD$ * * This is very simple implementation of RAP protocol. */ @@ -40,7 +41,7 @@ #include <err.h> #include <stdio.h> #include <unistd.h> -#include <strings.h> +#include <string.h> #include <stdlib.h> #include <sysexits.h> |