Include OS-dependant headers - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit 7a2bdea6e18d2338126d3cab8fdc1b0240920801
parent fdae99f75651ec33854a55654887608fb4f2947c
Author: Quentin Rameau 
Date:   Fri,  7 Jul 2017 16:04:09 +0200

Include OS-dependant headers

Thanks to Hiltjo for the suggestion!

Diffstat:
  M sacc.c                              |       5 +++++

1 file changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/sacc.c b/sacc.c
@@ -5,7 +5,12 @@
 #include 
 #include 
 #include 
+#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \
+    defined(___FreeBSD__)
+#include 
+#else
 #include 
+#endif
 #include 
 #include 
 #include