Add missing includes to eliminate -Wmissing-prototypes warnings

This commit is contained in:
rodrigc 2015-09-20 03:45:57 +00:00
parent b0481d57de
commit 04f98ba6e2
5 changed files with 5 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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"

View File

@ -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"