Date: Sun, 20 Sep 2015 03:45:58 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288002 - head/lib/libc/sys Message-ID: <201509200345.t8K3jwtb063901@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Sun Sep 20 03:45:57 2015 New Revision: 288002 URL: https://svnweb.freebsd.org/changeset/base/288002 Log: Add missing includes to eliminate -Wmissing-prototypes warnings Modified: head/lib/libc/sys/close.c head/lib/libc/sys/fsync.c head/lib/libc/sys/msync.c head/lib/libc/sys/readv.c head/lib/libc/sys/writev.c Modified: head/lib/libc/sys/close.c ============================================================================== --- head/lib/libc/sys/close.c Sun Sep 20 01:35:51 2015 (r288001) +++ head/lib/libc/sys/close.c Sun Sep 20 03:45:57 2015 (r288002) @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/fcntl.h> +#include <unistd.h> #include "libc_private.h" __weak_reference(__sys_close, __close); Modified: head/lib/libc/sys/fsync.c ============================================================================== --- head/lib/libc/sys/fsync.c Sun Sep 20 01:35:51 2015 (r288001) +++ head/lib/libc/sys/fsync.c Sun Sep 20 03:45:57 2015 (r288002) @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/fcntl.h> +#include <unistd.h> #include "libc_private.h" __weak_reference(__sys_fsync, __fsync); Modified: head/lib/libc/sys/msync.c ============================================================================== --- head/lib/libc/sys/msync.c Sun Sep 20 01:35:51 2015 (r288001) +++ head/lib/libc/sys/msync.c Sun Sep 20 03:45:57 2015 (r288002) @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/fcntl.h> +#include <sys/mman.h> #include "libc_private.h" __weak_reference(__sys_msync, __msync); Modified: head/lib/libc/sys/readv.c ============================================================================== --- head/lib/libc/sys/readv.c Sun Sep 20 01:35:51 2015 (r288001) +++ head/lib/libc/sys/readv.c Sun Sep 20 03:45:57 2015 (r288002) @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/syscall.h> +#include <sys/uio.h> #include <unistd.h> #include "libc_private.h" Modified: head/lib/libc/sys/writev.c ============================================================================== --- head/lib/libc/sys/writev.c Sun Sep 20 01:35:51 2015 (r288001) +++ head/lib/libc/sys/writev.c Sun Sep 20 03:45:57 2015 (r288002) @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/syscall.h> +#include <sys/uio.h> #include <unistd.h> #include "libc_private.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509200345.t8K3jwtb063901>