summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/process.c b/src/util/process.c
index 992ba7f734a..449c7fa77c2 100644
--- a/src/util/process.c
+++ b/src/util/process.c
@@ -60,6 +60,8 @@ __getProgramName()
# define GET_PROGRAM_NAME() getprogname()
#elif defined(__APPLE__)
# define GET_PROGRAM_NAME() getprogname()
+#elif defined(ANDROID)
+# define GET_PROGRAM_NAME() getprogname()
#elif defined(__sun)
/* Solaris has getexecname() which returns the full path - return just
the basename to match BSD getprogname() */