From 363c147d86f5c50c0dc9013e9cb7dd6901d0f894 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 28 Nov 2011 05:11:35 +0100 Subject: [PATCH] FreeBSD host sys/stat.h: Add missing extern "C" --- headers/build/host/freebsd/sys/stat.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/headers/build/host/freebsd/sys/stat.h b/headers/build/host/freebsd/sys/stat.h index bc8cd2751f..1c9d257a31 100644 --- a/headers/build/host/freebsd/sys/stat.h +++ b/headers/build/host/freebsd/sys/stat.h @@ -3,16 +3,22 @@ #include_next +#include + #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