From: Eric Curtin <ecurtin@redhat.com>
To: gregkh@linuxfoundation.org
Cc: Eric Curtin <ecurtin@redhat.com>,
William Hubbs <w.d.hubbs@gmail.com>,
Chris Brannon <chris@the-brannons.com>,
Kirk Reiser <kirk@reisers.ca>,
Samuel Thibault <samuel.thibault@ens-lyon.org>,
speakup@linux-speakup.org (open list:SPEAKUP CONSOLE SPEECH
DRIVER), linux-kernel@vger.kernel.org (open list)
Subject: [PATCH] speakup: include types.h so u_char is a known type
Date: Tue, 25 Oct 2022 11:18:24 +0100 [thread overview]
Message-ID: <20221025101828.1626490-1-ecurtin@redhat.com> (raw)
Fixes build of utils.h header file, occurred when building kernel on
postmarketOS on Lenovo Duet Chromebook.
drivers/accessibility/speakup/utils.h:57:9: error: unknown type name 'u_char'; did you mean 'char'?
57 | u_char *pn = (u_char *)name;
| ^~~~~~
| char
Fixes: 6a5c94d92699 ("speakup: Generate speakupmap.h automatically")
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
---
drivers/accessibility/speakup/utils.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/accessibility/speakup/utils.h b/drivers/accessibility/speakup/utils.h
index 4bf2ee8ac246..f6fe477ecb28 100644
--- a/drivers/accessibility/speakup/utils.h
+++ b/drivers/accessibility/speakup/utils.h
@@ -7,6 +7,7 @@
*/
#include <stdio.h>
+#include <sys/types.h>
#define MAXKEYS 512
#define MAXKEYVAL 160
--
2.37.3
next reply other threads:[~2022-10-25 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 10:18 Eric Curtin [this message]
2022-10-25 10:48 ` [PATCH] speakup: include types.h so u_char is a known type Samuel Thibault
2022-10-25 11:08 ` Eric Curtin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221025101828.1626490-1-ecurtin@redhat.com \
--to=ecurtin@redhat.com \
--cc=chris@the-brannons.com \
--cc=gregkh@linuxfoundation.org \
--cc=kirk@reisers.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=samuel.thibault@ens-lyon.org \
--cc=speakup@linux-speakup.org \
--cc=w.d.hubbs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox