$OpenBSD: patch-src_std_c_file_c,v 1.3 2013/09/07 15:43:02 ajacoutot Exp $
--- src/std/c_file.c.orig	Wed Sep  4 11:15:42 2013
+++ src/std/c_file.c	Sat Sep  7 17:40:48 2013
@@ -33,6 +33,10 @@
 #include <string.h>
 #include <stdio.h>
 
+#ifndef ENODATA
+#define ENODATA ENOENT
+#endif
+
 #include "c_file.h"
 #include "c_string.h"
 
