FreeBSD host sys/stat.h: Add missing extern "C"

This commit is contained in:
Ingo Weinhold 2011-11-28 05:11:35 +01:00
parent d68eb11df9
commit 363c147d86
1 changed files with 6 additions and 0 deletions

View File

@ -3,16 +3,22 @@
#include_next <sys/stat.h>
#include <sys/cdefs.h>
#ifndef UTIME_NOW
# define UTIME_NOW (-1)
# define UTIME_OMIT (-2)
__BEGIN_DECLS
/* assume that futimens() and utimensat() aren't available */
int futimens(int fd, const struct timespec times[2]);
int utimensat(int fd, const char* path, const struct timespec times[2],
int flag);
__END_DECLS
# ifndef _HAIKU_BUILD_NO_FUTIMENS
# define _HAIKU_BUILD_NO_FUTIMENS 1
# endif