$OpenBSD: patch-src_std_c_file_c,v 1.2 2012/06/24 08:01:29 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"