PKGBUILDs/pi-fm-rds/git/0002-Prevent-undefined-refe...

25 lines
594 B
Diff

From 6586b4fa75d3fe190133364dcb29882dbf72154e Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Tue, 11 Dec 2018 18:31:37 +0000
Subject: [PATCH 2/2] Prevent "undefined reference to `makedev'"
---
src/mailbox.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mailbox.c b/src/mailbox.c
index 902f6bb..0a5c7fc 100644
--- a/src/mailbox.c
+++ b/src/mailbox.c
@@ -35,6 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include "mailbox.h"
--
2.20.0