[libdispatch-dev] [PATCH] build libdispatch r196 under Linux
Mark Heily
mark at heily.com
Thu Dec 23 17:24:31 PST 2010
The following changes are needed to build libdispatch r196 under Linux.
Please apply this patch to the trunk.
Thanks,
- Mark
Index: configure.ac
===================================================================
--- configure.ac (revision 196)
+++ configure.ac (working copy)
@@ -8,6 +8,7 @@
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_HEADER([config/config.h])
AC_CONFIG_MACRO_DIR([m4])
+AC_USE_SYSTEM_EXTENSIONS
AM_MAINTAINER_MODE
#
Index: testing/shims/fgetln.c
===================================================================
--- testing/shims/fgetln.c (revision 196)
+++ testing/shims/fgetln.c (working copy)
@@ -41,6 +41,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <strings.h>
#include <errno.h>
Index: testing/shims/arc4random.c
===================================================================
--- testing/shims/arc4random.c (revision 196)
+++ testing/shims/arc4random.c (working copy)
@@ -34,6 +34,7 @@
#include <sys/types.h>
#include <sys/time.h>
+#include <stdint.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
More information about the libdispatch-dev
mailing list