diff options
author | Nikias Bassen | 2023-05-13 20:23:19 +0200 |
---|---|---|
committer | Nikias Bassen | 2023-05-13 20:23:19 +0200 |
commit | ff0010080bbab16ec7b12b7f71e958d1e4f6f94b (patch) | |
tree | 2e5a2781651907bc2a4932dfd2a2f8d74a66d8c6 /include | |
parent | af51970e6b1b9d9e6c8a925b040420e465bc2326 (diff) | |
download | libplist-ff0010080bbab16ec7b12b7f71e958d1e4f6f94b.tar.gz libplist-ff0010080bbab16ec7b12b7f71e958d1e4f6f94b.tar.bz2 |
Windows: Use winsock2.h instead of sys/time.h when using MSVC
Diffstat (limited to 'include')
-rw-r--r-- | include/plist/Date.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/plist/Date.h b/include/plist/Date.h index 3cfb7d1..5113cf3 100644 --- a/include/plist/Date.h +++ b/include/plist/Date.h @@ -24,7 +24,11 @@ #include <plist/Node.h> #include <ctime> +#ifdef _MSC_VER +#include <winsock2.h> +#else #include <sys/time.h> +#endif namespace PList { |