From fec9f916b640b8ffc18b7ff9f9d04fd742b32ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 18 Mar 2014 19:07:13 +0100 Subject: [PATCH] beos: Fix build --- beos/schedule.cpp | 1 + beos/schedule.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/beos/schedule.cpp b/beos/schedule.cpp index 75e349045..62ddb0e52 100644 --- a/beos/schedule.cpp +++ b/beos/schedule.cpp @@ -23,6 +23,7 @@ #include extern "C" { +#include "utils/errors.h" #include "beos/schedule.h" #include "desktop/browser.h" diff --git a/beos/schedule.h b/beos/schedule.h index a44615616..18f1efd4d 100644 --- a/beos/schedule.h +++ b/beos/schedule.h @@ -21,9 +21,9 @@ extern bigtime_t earliest_callback_timeout; -extern nserror beos_schedule(int t, void (*callback)(void *p), void *p); +extern "C" nserror beos_schedule(int t, void (*callback)(void *p), void *p); -extern void schedule_run(void); +extern "C" bool schedule_run(void); #endif /* NETSURF_BEOS_CALLBACK_H */