--- libeio/eio.h 2008/05/17 12:26:57 1.13 +++ libeio/eio.h 2008/06/03 05:12:51 1.14 @@ -40,6 +40,10 @@ #ifndef EIO_H_ #define EIO_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -219,5 +223,9 @@ ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count); +#ifdef __cplusplus +} +#endif + #endif