Include sys/types.h earlier to fix the build on FreeBSD 4.

Closes PR pkg/24119.
This commit is contained in:
snj 2004-02-27 02:09:34 +00:00
parent aeb0062d05
commit 06eb253be7
2 changed files with 22 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.5 2004/02/06 20:34:59 jmmv Exp $
$NetBSD: distinfo,v 1.6 2004/02/27 02:09:34 snj Exp $
SHA1 (libbonobo-2.4.3.tar.bz2) = 591b97c2fe78c489fec7d26dfe9a49150ff5f881
Size (libbonobo-2.4.3.tar.bz2) = 1381949 bytes
SHA1 (patch-aa) = f9f94279a1819af70123eef49cf98b4b34b956e1
SHA1 (patch-ab) = 36e17156e0dc0ce19c395abb730707b8bc0ea8da
SHA1 (patch-ac) = 256aec5eaa1d04ce9bed162c8698f6ebce6e4b0d

View file

@ -0,0 +1,20 @@
$NetBSD: patch-ac,v 1.1 2004/02/27 02:09:34 snj Exp $
--- bonobo-activation/bonobo-activation-init.c.orig 2004-02-26 18:03:07.000000000 -0800
+++ bonobo-activation/bonobo-activation-init.c 2004-02-26 18:04:57.000000000 -0800
@@ -34,6 +34,7 @@
#include "bonobo-activation-private.h"
#include "bonobo-activation-register.h"
#include "bonobo-activation-version.h"
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <fcntl.h>
@@ -44,7 +45,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
-#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>