aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 2de894cef..42d6d01af 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -298,6 +298,9 @@
# define struct_stat struct _stat
#endif
+#ifndef struct_stat
+# define struct_stat struct stat
+#endif
/* Below we define some functions. They should
1. close a socket