Module Name:    othersrc
Committed By:   lukem
Date:           Fri Oct 31 07:22:03 UTC 2014

Modified Files:
        othersrc/usr.bin/tnftp: configure.ac tnftp.h

Log Message:
Check for <sys/uio.h> for writev() declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 othersrc/usr.bin/tnftp/configure.ac
cvs rdiff -u -r1.35 -r1.36 othersrc/usr.bin/tnftp/tnftp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/usr.bin/tnftp/configure.ac
diff -u othersrc/usr.bin/tnftp/configure.ac:1.26 othersrc/usr.bin/tnftp/configure.ac:1.27
--- othersrc/usr.bin/tnftp/configure.ac:1.26	Fri Oct 31 04:03:54 2014
+++ othersrc/usr.bin/tnftp/configure.ac	Fri Oct 31 07:22:03 2014
@@ -1,4 +1,4 @@
-#       $NetBSD: configure.ac,v 1.26 2014/10/31 04:03:54 lukem Exp $
+#       $NetBSD: configure.ac,v 1.27 2014/10/31 07:22:03 lukem Exp $
 #
 # Process this file with autoconf to produce a configure script.
 
@@ -9,7 +9,7 @@ AC_COPYRIGHT([
 Copyright (c) 1999-2014 The NetBSD Foundation, Inc.
 All rights reserved.
 ])
-AC_REVISION([$Revision: 1.26 $])
+AC_REVISION([$Revision: 1.27 $])
 
 AS_SHELL_SANITIZE()
 
@@ -229,7 +229,8 @@ accheck_includes='
 ' # accheck_includes
 
 AC_CHECK_HEADERS([sys/types.h sys/ioctl.h sys/param.h sys/stat.h \
-                  sys/socket.h sys/syslimits.h sys/time.h sys/wait.h],
+                  sys/socket.h sys/syslimits.h sys/time.h sys/uio.h \
+                  sys/wait.h],
                  [], [], [$accheck_includes])
 AC_HEADER_DIRENT()
 AC_HEADER_RESOLV()

Index: othersrc/usr.bin/tnftp/tnftp.h
diff -u othersrc/usr.bin/tnftp/tnftp.h:1.35 othersrc/usr.bin/tnftp/tnftp.h:1.36
--- othersrc/usr.bin/tnftp/tnftp.h:1.35	Sun May  5 13:17:05 2013
+++ othersrc/usr.bin/tnftp/tnftp.h	Fri Oct 31 07:22:03 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: tnftp.h,v 1.35 2013/05/05 13:17:05 lukem Exp $	*/
+/*	$NetBSD: tnftp.h,v 1.36 2014/10/31 07:22:03 lukem Exp $	*/
 
 #define	FTP_PRODUCT	PACKAGE_NAME
 #define	FTP_VERSION	PACKAGE_VERSION
@@ -70,6 +70,9 @@
 #  include <ndir.h>
 # endif
 #endif
+#if defined(HAVE_SYS_UIO_H)
+# include <sys/uio.h>
+#endif
 
 #if defined(HAVE_SYS_IOCTL_H)
 # include <sys/ioctl.h>

Reply via email to