blob: 2b47d68c7745e8bc7e00bb508b6b025078681766 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-build_rpmfc.c,v 1.2 2015/03/15 05:34:56 ryoon Exp $
* basemname(3) requires libgen.h on NetBSD.
--- build/rpmfc.c.orig 2014-08-26 09:49:39.000000000 +0000
+++ build/rpmfc.c
@@ -7,6 +7,10 @@
#include <magic.h>
#include <regex.h>
+#if defined(__NetBSD__)
+#include <libgen.h>
+#endif
+
#include <rpm/header.h>
#include <rpm/argv.h>
#include <rpm/rpmfc.h>
|