From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 232e4cf3; for ; Fri, 24 Jul 2015 04:44:29 -0500 (EST) Received: by iecrl10 with SMTP id rl10so10535250iec.1 for ; Fri, 24 Jul 2015 02:44:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:in-reply-to:references :comments:mime-version:content-type:content-id:date:message-id; bh=r6Qf2hzG6pJ2pINlAkJEHBFF9DbRoU7tI3HYO67ud9o=; b=FES6UjAU4vwaDJ5072xjWU7Az+YGaox0uyRAHAuXbmh9O9qzrS90A1z3ftiw2+6Htk RH7QiFAT8evKSOOhinaqA6gwWdyk3OIE5AUzGHJo9o7lSCnQSEQlaWNucPRYIPpIInQC 1KMpm4y+Vst65u4XnY6z7pzGH8sJ/nvN9qc0zrl5G3MJaCkeneGH+VGAtGElEEFMv20e jNxs/drc+Tw6AMNg8FmnDsn2NzcXM4SmPaM9mA7uhQHataU2n6djmv/hnjH1zC07kVtx YKYzc92A9ZT90HzFmwOTrIdtWdGHWdQd14RWuCOjPLnpxFQgeu/ef1HE1zMC5l8swejn vDNw== X-Gm-Message-State: ALoCoQn3PLiOwPKQJq+TJR0kgtlC60CTXmbKvjJNLOAQR1QL2KEWsvTcOq2eNai9fPuHs9TaC3CY X-Received: by 10.107.137.154 with SMTP id t26mr20451949ioi.13.1437731066718; Fri, 24 Jul 2015 02:44:26 -0700 (PDT) Received: from cathet.us. (67-0-36-95.albq.qwest.net. [67.0.36.95]) by smtp.gmail.com with ESMTPSA id h20sm1212326igq.15.2015.07.24.02.44.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2015 02:44:25 -0700 (PDT) Sender: "Anthony J. Bentley" Received: from CATHET.us (localhost [127.0.0.1]) by cathet.us. (OpenSMTPD) with ESMTP id 62e4d9ba for ; Fri, 24 Jul 2015 03:44:24 -0600 (MDT) From: "Anthony J. Bentley" To: tech@mdocml.bsd.lv Subject: Re: Mac OS X patch In-reply-to: <55B20086.1010601@bsd.lv> References: <55B20086.1010601@bsd.lv> Comments: In-reply-to Kristaps Dzonsons message dated "Fri, 24 Jul 2015 11:08:22 +0200." X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28110.1437731064.1@CATHET.us> Date: Fri, 24 Jul 2015 03:44:24 -0600 Message-ID: <12372.1437731064@CATHET.us> Hi Kristaps, Kristaps Dzonsons writes: > Enclosed is a one-liner unbreaking the Mac OS X build and possibly > other systems as well. > > (I recall that is required for uint32_t according to C99.) Yes, and the ohash_interval(3) manual clearly shows that stdint.h must be included before ohash.h. The reason it doesn't fail on OpenBSD is that sys/types.h (incorrectly) exposes uint32_t. That's a bit of pollution that shouldn't happen, but as the XXX comment in the header states, "the rest of the includes are not ready for that yet." -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv