From patchwork Mon Jan 20 22:24:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Kettenis X-Patchwork-Id: 3514821 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C3F059F2D6 for ; Mon, 20 Jan 2014 22:25:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07FA820122 for ; Mon, 20 Jan 2014 22:25:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 23BF2200DB for ; Mon, 20 Jan 2014 22:24:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 234E8F9DBF; Mon, 20 Jan 2014 14:24:58 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from glazunov.sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) by gabe.freedesktop.org (Postfix) with ESMTP id 3584DF9DBF for ; Mon, 20 Jan 2014 14:24:56 -0800 (PST) Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id s0KMOssO026720 for ; Mon, 20 Jan 2014 23:24:54 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id s0KMOrq1025848; Mon, 20 Jan 2014 23:24:53 +0100 (CET) Date: Mon, 20 Jan 2014 23:24:53 +0100 (CET) Message-Id: <201401202224.s0KMOrq1025848@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: intel-gfx@lists.freedesktop.org Subject: [Intel-gfx] [PATCH] xf86-video-intel build fix for OpenBSD X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 50a45a1cdd4d8319ba9358974d241069689591c5 introduced the use of "struct stat" but doesn't include . Presumably that leaks in trough some other header on Linux, but on OpenBSD compilation fails because the struct isn't known. diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 8e073e2..66f5e7b 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include