--- a/apps/dtnquery/dtnquery.c Wed Jun 22 13:07:38 2011 +0100
+++ b/apps/dtnquery/dtnquery.c Wed Jun 22 13:58:21 2011 +0100
@@ -25,6 +25,7 @@
#include <string.h>
#include <stdlib.h>
#include <sys/time.h>
+#include <sys/stat.h>
#include <fcntl.h>
#include "dtn_api.h"
#include "sdnv-c.h"