aboutsummaryrefslogtreecommitdiff
path: root/includes/hardinfo.h
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-10-26 20:19:56 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-12-02 02:07:23 -0800
commit58a9f093fc830ad3d17a77423136be30db631934 (patch)
tree1c992ddfb10df64e7391f84a11026e9675be18ae /includes/hardinfo.h
parenta571f25a97a6158209405b14ff48248a309cc6a4 (diff)
Perhaps fix implicit-pointer-decl warning for suse
(#298) I don't know what -W... would cause this to be checked by the compiler so I can't test it. It's not -Wimplicit-pointer-decl, at least not in gcc 8.2.0. This fix is a guess based on what I've read in other patches trying to fix this. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/hardinfo.h')
-rw-r--r--includes/hardinfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h
index 881924c5..e0c6a164 100644
--- a/includes/hardinfo.h
+++ b/includes/hardinfo.h
@@ -19,6 +19,9 @@
#ifndef __HARDINFO_H__
#define __HARDINFO_H__
+#include <stdio.h>
+#include <string.h>
+#include <ctype.h>
#include <unistd.h>
#include <gtk/gtk.h>
#include "config.h"