diff options
Diffstat (limited to 'src/libusbmuxd.c')
| -rw-r--r-- | src/libusbmuxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 6b7d220..705ceff 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -658,7 +658,7 @@ static void get_bundle_id() static void get_prog_name() { -#if defined(__APPLE__) || defined(__FreeBSD__) +#if defined (HAVE_GETPROGNAME) const char *pname = getprogname(); if (pname) { prog_name = strdup(pname); |
