summaryrefslogtreecommitdiff
path: root/plugins/acpi
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/acpi
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/acpi')
-rw-r--r--plugins/acpi/acpi-plugin.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/acpi/acpi-plugin.c b/plugins/acpi/acpi-plugin.c
index add40a5..fc36113 100644
--- a/plugins/acpi/acpi-plugin.c
+++ b/plugins/acpi/acpi-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 "acpi-plugin.h"