#define _GNU_SOURCE #include #include "compat.h" const char * getprogname(void) { return program_invocation_name; }