diff --git a/dap_events.h b/dap_events.h
index a51afc45585165c80145d8b059faba0d5280fe19..942b588a6b9a10ad263bc39cc11d6ba75ffbe347 100755
--- a/dap_events.h
+++ b/dap_events.h
@@ -22,7 +22,7 @@
     along with any DAP based project.  If not, see <http://www.gnu.org/licenses/>.
 */
 #pragma once
-
+#include <sys/types.h>
 #include <netinet/in.h>
 
 #include <stdint.h>