$OpenBSD: patch-src_std_c_file_c,v 1.1.1.1 2012/10/16 09:41:44 ajacoutot Exp $
--- src/std/c_file.c.orig	Mon Jun 18 17:29:20 2012
+++ src/std/c_file.c	Sun Jun 24 09:49:58 2012
@@ -31,6 +31,10 @@
 #include <fcntl.h>
 #include <unistd.h>
 
+#ifndef ENODATA
+#define ENODATA ENOENT
+#endif
+
 #include "c_file.h"
 #include "c_string.h"
 
