$NetBSD: patch-aa,v 1.2 2012/10/11 18:46:11 shattered Exp $

--- cpmfs.c.orig	2012-10-07 10:46:25.000000000 +0000
+++ cpmfs.c
@@ -1,6 +1,7 @@
 /* #includes */ /*{{{C}}}*//*{{{*/
 #include "config.h"
 
+#include <sys/types.h>
 #include <sys/stat.h>
 #include <assert.h>
 #include <ctype.h>
