summaryrefslogtreecommitdiff
path: root/src/tool_homedir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_homedir.c')
-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