fix errno declaration

This commit is contained in:
naddy 2016-03-16 22:37:11 +00:00
parent 8270ef9338
commit c32841f4bd
2 changed files with 15 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.29 2015/11/24 09:11:05 jasper Exp $
# $OpenBSD: Makefile,v 1.30 2016/03/16 22:37:11 naddy Exp $
COMMENT= hfsplus filesystem access tool
VERSION= 1.0.4
DISTNAME= hfsplus_${VERSION}
PKGNAME= hfsplus-${VERSION}
REVISION= 5
REVISION= 6
SHARED_LIBS= hfsp 0.0
CATEGORIES= misc

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_hpmkdir_c,v 1.1 2016/03/16 22:37:11 naddy Exp $
--- src/hpmkdir.c.orig Tue Mar 5 20:50:29 2002
+++ src/hpmkdir.c Wed Mar 16 23:33:44 2016
@@ -46,8 +46,8 @@ int ioctl(int, int, ...);
# include <string.h>
# include <time.h>
# include <ctype.h>
-# include <errno.h>
*/
+# include <errno.h>
# include <stdio.h>
# include <stdlib.h>