blob: d1b75f1c547b3791df5860b6fa3bc643b47302e2 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From 0a948d8d91b789e9c9b60136fada75b1d464af63 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 18:31:27 -0700
4Subject: [PATCH] con2fbmap: Add missing include on string.h
5
6strerror() is from string.h therefore include it to fix -Wimplicit-function-declaration
7warnings
8
9Upstream-Status: Submitted [https://gitlab.com/pibox/con2fbmap/-/merge_requests/1]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/con2fbmap.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/con2fbmap.c b/src/con2fbmap.c
16index 7831931..7a2e870 100644
17--- a/src/con2fbmap.c
18+++ b/src/con2fbmap.c
19@@ -1,5 +1,6 @@
20 #include <stdio.h>
21 #include <stdlib.h>
22+#include <string.h> /* for strerror */
23 #include <unistd.h>
24 #include <fcntl.h>
25 #include <sys/ioctl.h>
26--
272.37.3
28