Add <sys/types.h> in the #ifdef __FreeBSD__ statement to get u_int, size_t

definitions. Fixes build on FreeBSD, closes PR pkg/21910.
This commit is contained in:
xtraeme 2003-10-05 10:56:37 +00:00
parent 043c341220
commit 05317627d3
2 changed files with 14 additions and 6 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.14 2003/06/06 19:31:55 drochner Exp $
$NetBSD: distinfo,v 1.15 2003/10/05 10:56:37 xtraeme Exp $
SHA1 (xmms-1.2.7.tar.gz) = 2f910d88af9bb5e8d54e796653beef969b555c68
Size (xmms-1.2.7.tar.gz) = 2860908 bytes
@ -8,7 +8,7 @@ SHA1 (patch-ac) = 4c3dc43fd83bacfacd376235d3723aeee96570f2
SHA1 (patch-ad) = 7645b1a2bbb338c9bea8b2015d5763486f77d16a
SHA1 (patch-af) = 472e2504fae530b34785e18d38d6f45891494a6d
SHA1 (patch-ag) = 24a56ba54752994806518872d03709559f5ac620
SHA1 (patch-ah) = 3d03813b29a1d0fe734c209e707264551ecd7138
SHA1 (patch-ah) = 4633394e7d8c8db458e003090cbfe1727c7a3d05
SHA1 (patch-ai) = 534fe71062cb38d35089b94af7a186255864e82f
SHA1 (patch-aj) = 95e965c5033dea5d2b0be2a22058f19504da0031
SHA1 (patch-ak) = 83f26d8d0a80def2ee28aa09f3261ff97d019dbf

View file

@ -1,8 +1,16 @@
$NetBSD: patch-ah,v 1.5 2002/10/25 08:59:05 skrll Exp $
$NetBSD: patch-ah,v 1.6 2003/10/05 10:56:37 xtraeme Exp $
--- libxmms/util.c.orig Fri Jun 1 08:07:49 2001
+++ libxmms/util.c
@@ -72,7 +76,7 @@
--- libxmms/util.c.orig Sun Oct 5 12:46:32 2003
+++ libxmms/util.c Sun Oct 5 12:47:21 2003
@@ -11,6 +11,7 @@
#endif
#ifdef __FreeBSD__
+#include <sys/types.h>
#include <sys/sysctl.h>
#endif
@@ -72,7 +73,7 @@
gboolean xmms_check_realtime_priority(void)
{