aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-22 19:01:00 +0000
committerYang Tse <yangsita@gmail.com>2008-08-22 19:01:00 +0000
commitfcc870021857f9233e4bb893ab01537e9c482605 (patch)
tree556aa9207100eaa2f9034cf1d24d61f2b7b528d8 /lib/setup.h
parente5b713ee636efc4a970b99104741f8edd7ab63e7 (diff)
Reinstate struct_stat definition that got lost in previous commit.
Diffstat (limited to 'lib/setup.h')
-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