snap.c: Add missing include to make it compile on FreeBSD.
[dss.git] / snap.c
diff --git a/snap.c b/snap.c
index c47e688..a5749a9 100644 (file)
--- a/snap.c
+++ b/snap.c
@@ -11,6 +11,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <time.h>
+#include <sys/time.h>
 
 #include "gcc-compat.h"
 #include "error.h"