diff options
author | Christopher Watford <christopher.watford@gmail.com> | 2014-12-05 10:22:36 -0500 |
---|---|---|
committer | Christopher Watford <christopher.watford@gmail.com> | 2014-12-05 10:22:36 -0500 |
commit | 0609a5729c4c38c98ff198cee4a835fb9953753a (patch) | |
tree | 9f29c33ada9a65248e2912e3d3f140c4d17fa56a /linkhash.c | |
parent | ec4879ac5b502ae81f6b73450b960ede11ad2560 (diff) |
Fixes #160 'missing header file on windows'
Diffstat (limited to 'linkhash.c')
-rw-r--r-- | linkhash.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ # include <endian.h> /* attempt to define endianness */ #endif +#ifdef _MSC_VER +# define WIN32_LEAN_AND_MEAN +# include <windows.h> /* Get InterlockedCompareExchange */ +#endif + #include "random_seed.h" #include "linkhash.h" |