openbsd-ports/misc/rpm/patches/patch-tools_rpmgettext_c

15 lines
381 B
Plaintext
Raw Normal View History

$OpenBSD: patch-tools_rpmgettext_c,v 1.1.1.1 2000/06/12 18:49:41 espie Exp $
--- tools/rpmgettext.c.orig Mon Jun 12 02:19:29 2000
+++ tools/rpmgettext.c Mon Jun 12 02:19:57 2000
@@ -11,6 +11,10 @@
#include "signature.h"
#include "header.h"
+#ifdef __OpenBSD__
+#include <libgen.h>
+#endif
+
#if !defined(HAVE_BASENAME)
extern char *basename (const char *__filename);
#endif