Define _GNU_SOURCE properly, other header fixes

This lets -std=c89 build for gcc 8.4.0
This commit is contained in:
Matt Johnston
2021-03-04 21:03:02 +08:00
parent 8b0fdf8010
commit 03481aba06
6 changed files with 8 additions and 9 deletions

View File

@@ -25,9 +25,6 @@
#ifndef DROPBEAR_INCLUDES_H_
#define DROPBEAR_INCLUDES_H_
/* uclibc needs _GNU_SOURCE, maybe other things? */
#define _GNU_SOURCE
#include "options.h"
#include "debug.h"