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"
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to