aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-04-02 12:54:17 +0200
committerhwspeedy <ns@bigbear.dk>2024-04-02 12:54:17 +0200
commit74f4e2e6750f291a19156ebe04ac2fdf2f87a2bd (patch)
treeb3da3acc2fc1ffe667ad917f2fb963ce35b4b5ee /hardinfo2
parenta0d8b071f4c6426423564afdaf6cc9f15aaad986 (diff)
FIX Implicit ctype functions - missing include
Diffstat (limited to 'hardinfo2')
-rw-r--r--hardinfo2/dt_util.c1
-rw-r--r--hardinfo2/vendor.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/dt_util.c b/hardinfo2/dt_util.c
index 08b0e317..e269336b 100644
--- a/hardinfo2/dt_util.c
+++ b/hardinfo2/dt_util.c
@@ -22,6 +22,7 @@
* http://elinux.org/Device_Tree_Mysteries
*/
#include <unistd.h>
+#include <ctype.h>
#include <sys/types.h>
#include <inttypes.h> /* for PRIu64 */
#include <endian.h>
diff --git a/hardinfo2/vendor.c b/hardinfo2/vendor.c
index 3d7092cc..e5eb627a 100644
--- a/hardinfo2/vendor.c
+++ b/hardinfo2/vendor.c
@@ -19,6 +19,7 @@
*/
#include <string.h>
+#include <ctype.h>
#include <gtk/gtk.h>
#include "vendor.h"