Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ AC_TYPE_UINT8_T

# Checks for library functions.
AC_CHECK_FUNCS([strcasecmp strdup strerror stpncpy malloc realloc getifaddrs])
AC_CHECK_FUNCS([getprogname])

# Check for operating system
AC_MSG_CHECKING([for platform-specific build settings])
Expand Down
2 changes: 1 addition & 1 deletion src/libusbmuxd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down