$OpenBSD: patch-src_rrdupdate_c,v 1.1 2013/11/05 17:49:01 sthen Exp $

https://github.com/oetiker/rrdtool-1.x/pull/401

--- src/rrdupdate.c.orig	Sat Jun 15 10:07:57 2013
+++ src/rrdupdate.c	Sat Jun 15 10:08:13 2013
@@ -15,7 +15,12 @@
 #endif
 
 #include "rrd.h"
+/* for basename */
+#ifdef HAVE_LIBGEN_H
+#  include <libgen.h>
+#else
 #include "plbasename.h"
+#endif
 
 int main(
     int argc,
