From patchwork Wed Feb 7 22:57:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Le Cuirot X-Patchwork-Id: 13549159 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 709AF692EA for ; Wed, 7 Feb 2024 22:58:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707346689; cv=none; b=UwyKdm2QsvoidXcCQhHN0OqhfwdXcDbUtuska3qriX1saVBVXpSxTosZ6Wem9gO0IVWWGCs9Tm4OJc5D+7Ojkrp7n1c3mKL83adH+HLzWu6euJ8vTLrXN6dsbQFaY0/QmxLuKBHDQQ4Cxo349Suhwvnk6yb0VgE63w5rDFbbp04= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707346689; c=relaxed/simple; bh=gJ+5xJtmPCb9on9uJmCdfGScJ5JPt6Yl94gO4pKEpbM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YqqwNKEPcutFqVaOuWBainxsx9jDOa5Av0AdSA8FbY/2tlOn4myGU86Vh1Qovv0IAjUGoqnkc7MmQrikXltK3Ytq3OS/g5Vusawe6ngfUAaeeBoakIRVbVXf8DBEDOlz6NgW1YMdaxUWTLROWMNp507p92TecuK5gGzLFpupMaY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: James Le Cuirot To: linux-media@vger.kernel.org Cc: James Le Cuirot Subject: [PATCH] v4l2-compliance: Fix building against libc++ Date: Wed, 7 Feb 2024 22:57:29 +0000 Message-ID: <20240207225732.22970-1-chewi@gentoo.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 v4l2-test-time32-64.cpp included compiler.h, which checks _LIBCPP_VERSION. This only works against libc++ when a C++ header has already been included, which wasn't the case here. v4l2-test-time32-64.cpp doesn't need to include compiler.h anyway, so just drop the include. Signed-off-by: James Le Cuirot --- utils/v4l2-compliance/v4l2-test-time32-64.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/v4l2-compliance/v4l2-test-time32-64.cpp b/utils/v4l2-compliance/v4l2-test-time32-64.cpp index e175c055..810fd5e4 100644 --- a/utils/v4l2-compliance/v4l2-test-time32-64.cpp +++ b/utils/v4l2-compliance/v4l2-test-time32-64.cpp @@ -16,7 +16,6 @@ #include -#include "compiler.h" #include "v4l2-compliance.h" typedef __s32 old_time32_t;