Add missing includes to eliminate -Wmissing-prototypes warnings

This commit is contained in:
Craig Rodrigues 2015-09-20 03:45:57 +00:00
parent 8f3da8a2d0
commit cfb65fa249
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"