]> The Tcpdump Group git mirrors - libpcap/blobdiff - sockutils.h
Use -Wshorten-64-to-32 if it's available, and fix warnings it shows.
[libpcap] / sockutils.h
index 1df1ef7bb3ac39cd671543b9a1af4abab313309a..d3299eaf22acddcee468ec525b4d74f438654db0 100644 (file)
    * don't have it, either?
    */
   typedef int socklen_t;
+
+  /*
+   * Winsock doesn't have this POSIX type; it's used for the
+   * tv_usec value of struct timeval.
+   */
+  typedef long suseconds_t;
 #else
   /* UN*X */
   #include <stdio.h>