hrev43352 adds 1 changeset to branch 'master' old head: d68eb11df97e62de38199b0408f056c98275d5d2 new head: 363c147d86f5c50c0dc9013e9cb7dd6901d0f894 ---------------------------------------------------------------------------- 1 files changed, 6 insertions(+), 0 deletions(-) headers/build/host/freebsd/sys/stat.h | 6 ++++++ ############################################################################ Revision: hrev43352 Commit: 363c147d86f5c50c0dc9013e9cb7dd6901d0f894 URL: http://cgit.haiku-os.org/haiku/commit/?id=363c147 Author: Ingo Weinhold <ingo_weinhold@xxxxxx> Date: Mon Nov 28 04:11:35 2011 UTC FreeBSD host sys/stat.h: Add missing extern "C" ---------------------------------------------------------------------------- diff --git a/headers/build/host/freebsd/sys/stat.h b/headers/build/host/freebsd/sys/stat.h index bc8cd27..1c9d257 100644 --- a/headers/build/host/freebsd/sys/stat.h +++ b/headers/build/host/freebsd/sys/stat.h @@ -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