===================================================================
Gbp-Pq: Name hurd-hacks.diff
#include <stdlib.h>
#include <gelf.h>
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
/* We might be building a bootstrap dummy library, which is really simple. */
#ifdef DUMMY_LIBDEBUGINFOD
}
#endif
+#include <argp.h>
+
extern "C" {
#include "printversion.h"
#include "system.h"
#include "debuginfod.h"
#include <dwarf.h>
-#include <argp.h>
#ifdef __GNUC__
#undef __attribute__ /* glibc bug - rhbz 1763325 */
#endif
scan_source_info = false;
break;
// case 'h': argp_state_help (state, stderr, ARGP_HELP_LONG|ARGP_HELP_EXIT_OK);
- default: return ARGP_ERR_UNKNOWN;
+ default: return (error_t) ARGP_ERR_UNKNOWN;
}
- return 0;
+ return (error_t)0;
}
#endif
#include "system.h"
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
#ifndef __linux__
int