snap.c: Add missing include to make it compile on FreeBSD.
authorAndre Noll <maan@systemlinux.org>
Wed, 14 May 2008 12:22:40 +0000 (14:22 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 14 May 2008 12:22:40 +0000 (14:22 +0200)
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"