Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2016 18:38:13 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r296734 - stable/9/contrib/smbfs/smbutil
Message-ID:  <201603121838.u2CIcDmB063884@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Mar 12 18:38:13 2016
New Revision: 296734
URL: https://svnweb.freebsd.org/changeset/base/296734

Log:
  MFstable/10 r296733:
  
  MFC r295118:
  
  Add #include <string.h> to mute warning from clang/gcc about implicitly
  declaring strcmp(3)

Modified:
  stable/9/contrib/smbfs/smbutil/print.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/contrib/   (props changed)
  stable/9/contrib/smbfs/   (props changed)

Modified: stable/9/contrib/smbfs/smbutil/print.c
==============================================================================
--- stable/9/contrib/smbfs/smbutil/print.c	Sat Mar 12 18:36:13 2016	(r296733)
+++ stable/9/contrib/smbfs/smbutil/print.c	Sat Mar 12 18:38:13 2016	(r296734)
@@ -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?201603121838.u2CIcDmB063884>