1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

net-p2p/bitmessage: Restore build on DragonFly

Restoring build on DragonFly is a trivial matter of adding OPSYS macro
to an existing patch.

Approved by:	 Restore DF functionality blanket
This commit is contained in:
John Marino 2016-05-23 21:08:38 +00:00
parent a08c06f96c
commit 87b9ff9000
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415746

View File

@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined (__DragonFly__)
#include <sys/types.h>
#include <sys/sysctl.h>
#endif