diff includes.h @ 1798:8dc43b30c6bf

Define _GNU_SOURCE properly, other header fixes This lets -std=c89 build for gcc 8.4.0
author Matt Johnston <matt@ucc.asn.au>
date Thu, 04 Mar 2021 21:03:02 +0800
parents 57f85129670f
children 2b3a8026a6ce
line wrap: on
line diff
--- a/includes.h	Thu Mar 04 21:02:16 2021 +0800
+++ b/includes.h	Thu Mar 04 21:03:02 2021 +0800
@@ -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"