diff --git a/src/common/classes/BaseStream.cpp b/src/common/classes/BaseStream.cpp index 1be2b4c610..818958bb33 100644 --- a/src/common/classes/BaseStream.cpp +++ b/src/common/classes/BaseStream.cpp @@ -28,6 +28,9 @@ #include "BaseStream.h" #include +#ifdef HAVE_UNISTD_H +#include +#endif namespace MsgFormat {