X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ffd-handle.h;h=36a92473a0b6ec7c2c1162e779448f0885d3d4d7;hp=dab9e2bfaccab4017502f079aba83f5b2fe27e04;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=3a5f70173aa04d11ccb22694d5d31a702cad33ab diff --git a/src/common/fd-handle.h b/src/common/fd-handle.h index dab9e2bfa..36a92473a 100644 --- a/src/common/fd-handle.h +++ b/src/common/fd-handle.h @@ -10,6 +10,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Wrapper around a file descriptor providing reference counting semantics. * @@ -44,4 +48,8 @@ int fd_handle_get_fd(struct fd_handle *handle); */ struct fd_handle *fd_handle_copy(const struct fd_handle *handle); +#ifdef __cplusplus +} +#endif + #endif /* FS_HANDLE_H */