diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-12 14:16:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-12 14:16:54 +0000 |
commit | 35038f4a2af51efed7265a064fd4a43ffd8a4b95 (patch) | |
tree | 781c3633801f9fb3abfe269f57e2dc09df0bf8d6 /main/nfs-utils/0002-Fix-header-include-for-definition-of-NULL.patch | |
parent | 31c5760db1020fee1de508e573f21a284c11c8e4 (diff) | |
download | aports-35038f4a2af51efed7265a064fd4a43ffd8a4b95.tar.bz2 aports-35038f4a2af51efed7265a064fd4a43ffd8a4b95.tar.xz |
main/nfs-utils: build fixes for musl
Diffstat (limited to 'main/nfs-utils/0002-Fix-header-include-for-definition-of-NULL.patch')
-rw-r--r-- | main/nfs-utils/0002-Fix-header-include-for-definition-of-NULL.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/nfs-utils/0002-Fix-header-include-for-definition-of-NULL.patch b/main/nfs-utils/0002-Fix-header-include-for-definition-of-NULL.patch new file mode 100644 index 0000000000..ba7c56c44a --- /dev/null +++ b/main/nfs-utils/0002-Fix-header-include-for-definition-of-NULL.patch @@ -0,0 +1,27 @@ +From 7bb18315852601df9fd02f714d12fa09b9adbdba Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed, 12 Feb 2014 13:43:34 +0000 +Subject: [PATCH 2/7] Fix header include for definition of NULL + +NULL is defined in stdlib.h so we need to include that. + +Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> +--- + support/include/sockaddr.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/support/include/sockaddr.h b/support/include/sockaddr.h +index a1c30f9..446b537 100644 +--- a/support/include/sockaddr.h ++++ b/support/include/sockaddr.h +@@ -27,6 +27,7 @@ + #ifdef HAVE_LIBIO_H + #include <libio.h> + #endif ++#include <stdlib.h> + #include <stdbool.h> + #include <sys/socket.h> + #include <netinet/in.h> +-- +1.8.5.3 + |