summaryrefslogtreecommitdiffstats
path: root/osdep/posix-spawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/posix-spawn.h')
-rw-r--r--osdep/posix-spawn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/osdep/posix-spawn.h b/osdep/posix-spawn.h
index d8bf874c98..fdba50149c 100644
--- a/osdep/posix-spawn.h
+++ b/osdep/posix-spawn.h
@@ -19,7 +19,9 @@
#pragma once
-#ifdef __ANDROID__
+#include "config.h"
+
+#if HAVE_ANDROID
// posix_spawn(p) does not exist at all on Android
#include "osdep/android/posix-spawn.h"
#else