summaryrefslogtreecommitdiffstats
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 2af29ce423..94967c3c4c 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -619,7 +619,7 @@ struct user_settings
#ifdef HAVE_SPDIF_POWER
bool spdif_enable; /* S/PDIF power on/off */
#endif
-#ifdef HAVE_USB_CHARGING_ENABLE
+#if defined (HAVE_USBSTACK) && defined(HAVE_USB_CHARGING_ENABLE)
int usb_charging;
#endif