OSDN Git Service

Merge remote-tracking branch 'toybox/master' into HEAD
[android-x86/external-toybox.git] / toys / android / getprop.c
index 09bb0f0..4afac1a 100644 (file)
@@ -17,6 +17,8 @@ config GETPROP
 #define FOR_getprop
 #include "toys.h"
 
+#if defined(__ANDROID__)
+
 #include <cutils/properties.h>
 
 GLOBALS(
@@ -46,3 +48,11 @@ void getprop_main(void)
     if (CFG_TOYBOX_FREE) free(TT.nv);
   }
 }
+
+#else
+
+void getprop_main(void)
+{
+}
+
+#endif