-#define _GNU_SOURCE
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
#include <assert.h>
#include <string.h>
process->path = pb_system_apps.tftp;
process->argv = argv;
process->keep_stdout = true;
+ process->add_stderr = true;
process_run_sync(process);
if (!process->stdout_buf || process->stdout_len == 0) {