svn commit: r295118 - head/contrib/smbfs/smbutil
Garrett Cooper
ngie at FreeBSD.org
Mon Feb 1 07:09:09 UTC 2016
Author: ngie
Date: Mon Feb 1 07:09:08 2016
New Revision: 295118
URL: https://svnweb.freebsd.org/changeset/base/295118
Log:
Add #include <string.h> to mute warning from clang/gcc about implicitly
declaring strcmp(3)
MFC after: 1 month
Reported by: Jenkins
Sponsored by: EMC / Isilon Storage Division
Modified:
head/contrib/smbfs/smbutil/print.c
Modified: head/contrib/smbfs/smbutil/print.c
==============================================================================
--- head/contrib/smbfs/smbutil/print.c Mon Feb 1 06:27:59 2016 (r295117)
+++ head/contrib/smbfs/smbutil/print.c Mon Feb 1 07:09:08 2016 (r295118)
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
+#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <sysexits.h>
More information about the svn-src-all
mailing list