Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2016 07:09:08 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295118 - head/contrib/smbfs/smbutil
Message-ID:  <201602010709.u11798x2075868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602010709.u11798x2075868>