Use the sreadfrom() wrapper to replace recvfrom() in our code.
authorYang Tse <yangsita@gmail.com>
Mon, 21 Jul 2008 03:06:08 +0000 (03:06 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 21 Jul 2008 03:06:08 +0000 (03:06 +0000)
setup_once.h

index d3159904f41659b139bcb15e73be59ad6e498628..e1c5af278666be7baeb084111324a603815f15c2 100644 (file)
@@ -222,6 +222,13 @@ struct timeval {
 #endif /* HAVE_RECVFROM */
 
 
+#ifdef RECVFROM_TYPE_ARG6_IS_VOID
+#  define RECVFROM_ARG6_T unsigned int
+#else
+#  define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
+#endif
+
+
 /*
  * Uppercase macro versions of ANSI/ISO is*() functions/macros which
  * avoid negative number inputs with argument byte codes > 127.