summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOliver Urbann <oliver.urbann@tu-dortmund.de>2020-11-18 19:44:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-20 23:36:51 +0100
commit0d16a49c16a868524a3e51d390b5ea106ce9b51c (patch)
tree92b755319484903a9ad5d458342f6e6bbf34a134 /src
parentc353207057b45c0e814823b5fe5eabeb4cc2d707 (diff)
downloadgnurl-0d16a49c16a868524a3e51d390b5ea106ce9b51c.tar.gz
gnurl-0d16a49c16a868524a3e51d390b5ea106ce9b51c.tar.bz2
gnurl-0d16a49c16a868524a3e51d390b5ea106ce9b51c.zip
curl: add compatibility for Amiga and GCC 6.5
Changes are mainly reordering and adding of includes required to compile with a more recent version of GCC. Closes #6220
Diffstat (limited to 'src')
-rw-r--r--src/tool_homedir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_homedir.c b/src/tool_homedir.c
index 25e13101a..632bdcc4f 100644
--- a/src/tool_homedir.c
+++ b/src/tool_homedir.c
@@ -22,6 +22,7 @@
#include "tool_setup.h"
#ifdef HAVE_PWD_H
+# undef __NO_NET_API /* required for building for AmigaOS */
# include <pwd.h>
#endif