From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uaXHs7O4jBfr for ; Thu, 31 Jan 2013 20:15:49 +0100 (CET) Received: from furnace.wzff.de (furnace.wzff.de [IPv6:2a01:4f8:150:63e2::9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 31 Jan 2013 20:15:49 +0100 (CET) Received: from xdsl-188-155-204-150.adslplus.ch ([188.155.204.150] helo=[10.1.1.4]) by furnace.wzff.de with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U0zbv-000CoA-Ce for dm-crypt@saout.de; Thu, 31 Jan 2013 20:15:49 +0100 Message-ID: <510AC2C3.8010907@barfooze.de> Date: Thu, 31 Jan 2013 20:15:15 +0100 From: John Spencer MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020200070200080505090704" Subject: [dm-crypt] [PATCH] fix portability issues encountered while building against musl libc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is a multi-part message in MIME format. --------------020200070200080505090704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 2 header inclusions were missing, one for PATH_MAX (limits.h) and one for FD_ZERO, FD_SET, ... (sys/select.h) on glibc, those headers are erroneusly (namespace pollution) pulled in through other headers, so the author didnt notice. Signed-Off-By: John Spencer --------------020200070200080505090704 Content-Type: text/x-patch; name="cryptsetup-devpath.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cryptsetup-devpath.patch" --- cryptsetup-1.6.0.org/lib/utils_devpath.c 2013-01-30 19:45:47.142000003 +0000 +++ cryptsetup-1.6.0/lib/utils_devpath.c 2013-01-30 19:46:23.918000003 +0000 @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include "utils_dm.h" --------------020200070200080505090704 Content-Type: text/x-patch; name="cryptsetup-random.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cryptsetup-random.patch" --- cryptsetup-1.6.0.org/lib/random.c 2013-01-30 19:45:47.143000003 +0000 +++ cryptsetup-1.6.0/lib/random.c 2013-01-30 19:49:16.064000003 +0000 @@ -23,6 +23,7 @@ #include #include #include +#include #include "libcryptsetup.h" #include "internal.h" --------------020200070200080505090704--