diff options
| -rw-r--r-- | eio.c | 2 | ||||
| -rw-r--r-- | eio.h | 8 | 
2 files changed, 9 insertions, 1 deletions
| @@ -777,7 +777,7 @@ static int eio__futimes (int fd, const struct timeval tv[2])  # define readahead(fd,offset,count) eio__readahead (fd, offset, count, self)  static ssize_t -eio__readahead (int fd, off_t offset, size_t count, worker *self) +eio__readahead (int fd, off_t offset, size_t count, etp_worker *self)  {    size_t todo = count;    dBUF; @@ -40,6 +40,10 @@  #ifndef EIO_H_  #define EIO_H_ +#ifdef __cplusplus +extern "C" { +#endif +  #include <stddef.h>  #include <sys/types.h> @@ -219,5 +223,9 @@ void eio_destroy (eio_req *req);  ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count); +#ifdef __cplusplus +} +#endif +  #endif | 
