From f97b4ac4a26fea9534b58d338737773a91186057 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 24 Jun 2003 00:12:00 +0000 Subject: [PATCH] Made the header C++ friendly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3632 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/Drivers.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/headers/os/drivers/Drivers.h b/headers/os/drivers/Drivers.h index dfbd837fed..66c2b5af9b 100644 --- a/headers/os/drivers/Drivers.h +++ b/headers/os/drivers/Drivers.h @@ -6,6 +6,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* --- these hooks are how the kernel accesses the device --- */ @@ -231,5 +235,8 @@ typedef struct { } device_icon; +#ifdef __cplusplus +} +#endif #endif /* _DRIVERS_DRIVERS_H */