From: Ben Gras Date: Sat, 9 Jul 2011 14:07:53 +0000 (+0200) Subject: protect ioctl() with __BEGIN/__END_DECLS for C++ X-Git-Tag: v3.2.0~472 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/mem/static/tz-link.htm?a=commitdiff_plain;h=c63a0cfddcd42e04be6ef8833b3975fbbbbfe802;p=minix.git protect ioctl() with __BEGIN/__END_DECLS for C++ --- diff --git a/common/include/minix/ioctl.h b/common/include/minix/ioctl.h index f6f79fe9b..c71f672ec 100644 --- a/common/include/minix/ioctl.h +++ b/common/include/minix/ioctl.h @@ -7,6 +7,8 @@ #ifndef _M_IOCTL_H #define _M_IOCTL_H +#include + #ifndef _TYPES_H #include #endif @@ -63,6 +65,8 @@ #define _IORW(x,y,t) _IO(x,y) #endif +__BEGIN_DECLS int ioctl(int _fd, int _request, void *_data); +__END_DECLS #endif /* _M_IOCTL_H */