Commit Diff


commit - cf7804ed4ec5343a161ead744ff9128ddbed183a
commit + 0fc3012cbeb3ab386febc7c43684f849c69dc674
blob - 40a66920a527a12077172e31ad7abb9ff943c01c
blob + 68c02fe36df0f00abffe293ccae6d27b225b6297
--- include/got_compat2.h
+++ include/got_compat2.h
@@ -295,10 +295,6 @@ typedef struct _SHA2_CTX {
 /* SOCK_NONBLOCK isn't available across BSDs... */
 #if !defined(SOCK_NONBLOCK) && !defined(__linux__)
 #define SOCK_NONBLOCK 00004000
-#endif
-
-#ifndef HOST_NAME_MAX
-#define HOST_NAME_MAX _SC_HOST_NAME_MAX
 #endif
 
 #ifndef HAVE_ASPRINTF