pkgsrc/devel/libtar/patches/patch-aa

14 lines
409 B
Text

$NetBSD: patch-aa,v 1.1 2005/10/31 20:44:57 tv Exp $
--- compat/compat.h.orig 2003-01-08 16:44:50.000000000 -0500
+++ compat/compat.h
@@ -177,6 +177,9 @@ int inet_aton(const char *, struct in_ad
# ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
+# if !defined(makedev) && defined(mkdev)
+# define makedev(a,b) mkdev((a),(b))
+# endif
# else
# ifdef MAJOR_IN_SYSMACROS
# include <sys/sysmacros.h>