summaryrefslogtreecommitdiff
path: root/plugins/pmu-sys
diff options
context:
space:
mode:
authorlistout <[email protected]>2023-05-05 11:07:20 +0530
committerLuke from DC <[email protected]>2023-05-07 06:48:33 +0000
commitfc56df38106f664def119611d302d20d0ea65e67 (patch)
treebb8d93022a073dc37106481dc5074dda3f88fe79 /plugins/pmu-sys
parent6148063f860bf23d970199fd74a9efdf547be834 (diff)
downloadmate-sensors-applet-fc56df38106f664def119611d302d20d0ea65e67.tar.bz2
mate-sensors-applet-fc56df38106f664def119611d302d20d0ea65e67.tar.xz
unconditionally include stdio.h and locale.h
On musl mate-sensor-applet fails to build with error message saying "LC_NUMERIC undeclared". As suggested in issue mate-desktop#123, removing the include guards around #include <local.h> and #include <stdio.h> Signed-off-by: listout <[email protected]>
Diffstat (limited to 'plugins/pmu-sys')
-rw-r--r--plugins/pmu-sys/pmu-sys-plugin.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/pmu-sys/pmu-sys-plugin.c b/plugins/pmu-sys/pmu-sys-plugin.c
index 46f8f2b..6b50742 100644
--- a/plugins/pmu-sys/pmu-sys-plugin.c
+++ b/plugins/pmu-sys/pmu-sys-plugin.c
@@ -21,10 +21,7 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef HAVE_STDIO_H
#include <stdio.h>
-#endif /* HAVE_STDIO_H */
-
#include <glib.h>
#include <glib/gi18n.h>
#include "pmu-sys-plugin.h"