Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
1797:f680a19bd559 | 1798:8dc43b30c6bf |
---|---|
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
23 * SOFTWARE. */ | 23 * SOFTWARE. */ |
24 | 24 |
25 #ifndef DROPBEAR_INCLUDES_H_ | 25 #ifndef DROPBEAR_INCLUDES_H_ |
26 #define DROPBEAR_INCLUDES_H_ | 26 #define DROPBEAR_INCLUDES_H_ |
27 | |
28 /* uclibc needs _GNU_SOURCE, maybe other things? */ | |
29 #define _GNU_SOURCE | |
30 | 27 |
31 #include "options.h" | 28 #include "options.h" |
32 #include "debug.h" | 29 #include "debug.h" |
33 | 30 |
34 #include <sys/types.h> | 31 #include <sys/types.h> |