From 214f37c2493f005231ff32e9982c2b831de11d38 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 10 Jun 2023 20:03:31 +0530 Subject: [PATCH] fastboot: Add header that declares std::function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the following compiler error with gcc fastboot_driver.h:51:10: error: ‘function’ in namespace ‘std’ does not name a template type Change-Id: I3a4d9b48bfdc2c76e443e2efe1761ec9503c6dc5 --- fastboot/fastboot_driver.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fastboot/fastboot_driver.h b/fastboot/fastboot_driver.h index 3d6c7b017..6ac26ce31 100644 --- a/fastboot/fastboot_driver.h +++ b/fastboot/fastboot_driver.h @@ -28,6 +28,7 @@ #pragma once #include #include +#include #include #include #include