diff --git a/src/dispatch.c b/src/dispatch.c
index f19339b41..556b995a7 100644
--- a/src/dispatch.c
+++ b/src/dispatch.c
@@ -41,7 +41,8 @@
#include <dlfcn.h>
#include <inttypes.h>
#include <stdlib.h>
-
+#include <sys/time.h>
+#include <unistd.h>
/**
* Private Function Prototypes
*/