Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From 0a948d8d91b789e9c9b60136fada75b1d464af63 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 2 Sep 2022 18:31:27 -0700 |
| 4 | Subject: [PATCH] con2fbmap: Add missing include on string.h |
| 5 | |
| 6 | strerror() is from string.h therefore include it to fix -Wimplicit-function-declaration |
| 7 | warnings |
| 8 | |
| 9 | Upstream-Status: Submitted [https://gitlab.com/pibox/con2fbmap/-/merge_requests/1] |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | src/con2fbmap.c | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/src/con2fbmap.c b/src/con2fbmap.c |
| 16 | index 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 | -- |
| 27 | 2.37.3 |
| 28 | |