Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101164 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40504 invoked from network); 27 Nov 2017 16:56:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2017 16:56:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.172 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.172 mail-qk0-f172.google.com Received: from [209.85.220.172] ([209.85.220.172:46821] helo=mail-qk0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/F8-26862-BB34C1A5 for ; Mon, 27 Nov 2017 11:56:28 -0500 Received: by mail-qk0-f172.google.com with SMTP id b85so33279824qkc.13 for ; Mon, 27 Nov 2017 08:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uuBFyMoZqxyhJ1IcJ3svcEChdDJmw6IyXsFmmu1AoGM=; b=wXPUK7EuDiwGePzBmCgz7ibJZ7Q0JUd/UwMPk5mEzXc3e1BwELv1hLaLoVSNafEmXk FjaU+zax6O8/3PsPCp9q8o8MZ/WlxwEjyDt2rXAe86C3QHDHzk86KycyqdecVpnsc8XQ fdBk6o5ycj90e2UZXqQmUSmmoW3AM4XpNyvaGKkf1xYzfmkrDb4acvuvEbvy27JxMMVG x9+N+rlspjDCQf+SFqk1twPkWtt5S+V58Y/IBL03Ny5r1QtvFEHRRkCsJcm/7bee7Rkm B19m7nTBpn2qJDBI011xapR/nTS7jHwehGNL+g6wxo8YU2oWMqxZDMay9K+R59PArBe7 vJ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uuBFyMoZqxyhJ1IcJ3svcEChdDJmw6IyXsFmmu1AoGM=; b=Ayst0jTjwbwHJpPCMyRLufFElapFUFeCpLEB4SEKMBAHW3KwhjFkAWNPZtP85L6vHW xqm93GLtp2iPNJIycSUjyTmNX8FhgLAiqfJ1Q6auUC8rnorSvMKTrDBQzlNVtM9sKjQS GbDNw/X7jfrN/VReO6yvGQanN6dyfZOFH21fcAVkWN0JuezCXJDG7AWUmvFJvRZwmt+P bVKmhXmJ03RntNDn+VzJrivGuuYXLaFQ8ef9XEpPPYRJREdQEDUEigUc8q1Mhke0Eens g6iPwr0fIk99GVi+k9QdqDoRY4HHLDUnVBMGCTC+yXeYaae0xkI8MLfOT3bfk/g+tmvB 3dpg== X-Gm-Message-State: AJaThX5rGhGyTRdr8BmXsWS3BvCcygbycr0R+pj516jn38AdX9XwF+SU w3EZ1TvJaFZ+r6qOwP2MARBPxhr+KBU7NHDyxllRSA== X-Google-Smtp-Source: AGs4zMZpoXmRB3OD2/e6soLuGSLYudI5sCoNmiTmK8AwhNS5tziCtXbDa7bRl6ZIaC3Z063ygli83WnNyUdWXdvF41I= X-Received: by 10.55.71.214 with SMTP id u205mr40805354qka.289.1511801785653; Mon, 27 Nov 2017 08:56:25 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.158.145 with HTTP; Mon, 27 Nov 2017 08:56:25 -0800 (PST) X-Originating-IP: [206.252.215.26] In-Reply-To: References: <73a4b3a5-5a48-fdab-8d7a-08cc596661ff@anderiasch.de> <587c708c-48b9-b18e-098f-26ac0a113cc8@anderiasch.de> <142a4a73-ee43-efea-d1f9-69ad981178f9@anderiasch.de> Date: Mon, 27 Nov 2017 11:56:25 -0500 X-Google-Sender-Auth: FatB35fmS2JqiZ_CsKJZ7w-g4NY Message-ID: To: Florian Anderiasch Cc: PHP internals , Dan Ackroyd Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] net_get_interfaces() From: pollita@php.net (Sara Golemon) On Mon, Nov 27, 2017 at 11:38 AM, Florian Anderiasch wrote: > Somehow it doesn't match the > +#if HAVE_NET_IF_H > in net.c > > I had to unconditionally include it (for testing), otherwise > IFF_BROADCAST and IFF_POINTOPOINT are undefined. (they are in > sys/net/if.h on OpenBSD, but I only tested 6.2). > Can you send or gist your config.log? (Optionally redacted to the net/if.h check if you want to do that yourself) Are you saying you simply removed the `#if HAVE_NET_IF_H` check? Or that you did that *AND* changed the include directive to `#include ` ? > Can do a proper bug report if needed, but maybe I get around to test > NetBSD as well. > Thanks!