Author: mmlr Date: 2011-05-11 03:30:55 +0200 (Wed, 11 May 2011) New Revision: 41427 Changeset: https://dev.haiku-os.org/changeset/41427 Modified: haiku/trunk/headers/private/kernel/arch/x86/arch_int.h Log: Quick build fix for the FreeBSD compatibility layer. Maybe the definition should be moved to a (even) more private header? Modified: haiku/trunk/headers/private/kernel/arch/x86/arch_int.h =================================================================== --- haiku/trunk/headers/private/kernel/arch/x86/arch_int.h 2011-05-11 00:53:03 UTC (rev 41426) +++ haiku/trunk/headers/private/kernel/arch/x86/arch_int.h 2011-05-11 01:30:55 UTC (rev 41427) @@ -57,6 +57,8 @@ arch_int_are_interrupts_enabled_inline() +#ifdef __cplusplus + typedef struct interrupt_controller_s { const char *name; void (*enable_io_interrupt)(int32 num); @@ -70,4 +72,6 @@ void arch_int_set_interrupt_controller(const interrupt_controller &controller); +#endif // __cplusplus + #endif /* _KERNEL_ARCH_x86_INT_H */