Created
April 9, 2016 19:29
-
-
Save sindastra/4756fb56d419e2719cf3d13784e470d5 to your computer and use it in GitHub Desktop.
cap2hccap.c patch for OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- cap2hccap.c 2012-06-30 07:53:03.000000000 +0200 | |
+++ cap2hccap-osx.c 2016-04-09 21:09:59.000000000 +0200 | |
@@ -7,6 +7,11 @@ | |
#include <sys/types.h> | |
#include <string.h> | |
#include <libgen.h> | |
+ | |
+#ifdef __APPLE__ | |
+ #include <limits.h> | |
+#endif | |
+ | |
#ifdef UINT16 | |
#define u_int16_t UINT16; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment