openbsd-ports/net/ocsync/patches/patch-src_std_c_file_c
2013-04-27 16:27:19 +00:00

15 lines
332 B
Plaintext

$OpenBSD: patch-src_std_c_file_c,v 1.2 2013/04/27 16:27:19 ajacoutot Exp $
--- src/std/c_file.c.orig Mon Apr 22 15:34:09 2013
+++ src/std/c_file.c Sat Apr 27 18:20:25 2013
@@ -32,6 +32,10 @@
#include <unistd.h>
#include <string.h>
+#ifndef ENODATA
+#define ENODATA ENOENT
+#endif
+
#include "c_file.h"
#include "c_string.h"