From 8fcf577e24ddddbb267123f8f420a969638d2571 Mon Sep 17 00:00:00 2001 From: beveloper Date: Fri, 25 Oct 2002 14:43:27 +0000 Subject: [PATCH] Fixed a strange, and hard to find bug. extern "C" { was not terminated. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1653 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/sys/ioctl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/headers/posix/sys/ioctl.h b/headers/posix/sys/ioctl.h index 8a2bcb6243..eccb5b375d 100644 --- a/headers/posix/sys/ioctl.h +++ b/headers/posix/sys/ioctl.h @@ -17,9 +17,7 @@ extern "C" { #endif - #include - #include #include @@ -33,5 +31,9 @@ extern "C" { int ioctl(int, ulong, ...); #endif /* !_KERNEL_MODE */ +#ifdef __cplusplus +} +#endif + /** @} */ #endif /* _SYS_IOCTL_H */