Commit Diff


commit - ab0ebffe58810fa417fda4367547f2676d433f75
commit + ba107e8082f60fe7570c72c8c6caf9183d944caf
blob - 74375b993013b8be069a98b66caa078bc5a95377
blob + ccf0d44325b821f153ca83ea5c36276c6957fbae
--- include/got_compat.h
+++ include/got_compat.h
@@ -61,6 +61,11 @@
 #define WAIT_ANY (-1)
 #endif
 
+/* SOCK_NONBLOCK isn't available across BSDs... */
+#ifndef SOCK_NONBLOCK
+#define SOCK_NONBLOCK 00004000
+#endif
+
 #ifndef __dead
 #define __dead __attribute__ ((__noreturn__))
 #endif