ports/databases/rrdtool/files/patch-src__rrdupdate.c
Niclas Zeising 6895af1be7 Fix runtime on amd64
Sorry for the portrevision churn, forgot this with previous commit.

PR:		192630
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
2014-08-30 19:01:16 +00:00

16 lines
306 B
C

--- src/rrdupdate.c.orig 2014-08-12 20:19:23.000000000 -0400
+++ src/rrdupdate.c 2014-08-12 20:19:50.000000000 -0400
@@ -15,7 +15,12 @@
#endif
#include "rrd.h"
-#include "plbasename.h"
+
+#ifdef HAVE_LIBGEN_H
+# include <libgen.h>
+#else
+# include "plbasename.h"
+#endif
int main(
int argc,