diff options
author | listout <[email protected]> | 2023-05-05 11:07:20 +0530 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-05-07 06:48:33 +0000 |
commit | fc56df38106f664def119611d302d20d0ea65e67 (patch) | |
tree | bb8d93022a073dc37106481dc5074dda3f88fe79 /plugins/i2c-proc/i2c-proc-plugin.c | |
parent | 6148063f860bf23d970199fd74a9efdf547be834 (diff) | |
download | mate-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/i2c-proc/i2c-proc-plugin.c')
-rw-r--r-- | plugins/i2c-proc/i2c-proc-plugin.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/i2c-proc/i2c-proc-plugin.c b/plugins/i2c-proc/i2c-proc-plugin.c index 1ed81fe..4a63a8a 100644 --- a/plugins/i2c-proc/i2c-proc-plugin.c +++ b/plugins/i2c-proc/i2c-proc-plugin.c @@ -21,14 +21,8 @@ #include <config.h> #endif /* HAVE_CONFIG_H */ -#ifdef HAVE_STDIO_H #include <stdio.h> -#endif /* HAVE_STDIO_H */ - -#ifdef HAVE_LOCALE_H #include <locale.h> -#endif - #include <glib.h> #include <glib/gi18n.h> #include "i2c-proc-plugin.h" |