--- libseahorse/seahorse-util.c.orig	2010-04-27 03:16:23.000000000 +0200
+++ libseahorse/seahorse-util.c	2010-07-27 14:46:49.000000000 +0200
@@ -48,6 +48,8 @@
 #include <errno.h>
 #include <glib/gi18n.h>
 
+#include <sys/types.h>
+
 static const gchar *bad_filename_chars = "/\\<>|";
 
 /**
