1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/citadel/files/patch-ah
Edwin Groothuis 6a5ece9184 Fix for port net/citadel
Corrects the looping package-creation bug in the Citadel package.
	Also fixes a bug which stopped FreeBSD 5.0 builds.
2003-09-03 23:19:38 +00:00

26 lines
485 B
Plaintext

--- sysdep.c.orig Mon Jul 2 23:07:09 2001
+++ sysdep.c Sun Mar 30 23:00:56 2003
@@ -12,7 +12,7 @@
*
*/
-
+#define __SYSDEP_C__
#include "sysdep.h"
#include <stdlib.h>
#include <unistd.h>
@@ -46,8 +46,13 @@
#include <stdarg.h>
#include <syslog.h>
#include <grp.h>
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+#if !defined(BSD)
#ifdef __GNUC__
#include <malloc.h>
+#endif
#endif
#ifdef HAVE_PTHREAD_H
#include <pthread.h>