diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-10 15:03:01 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-10 15:03:01 +0100 |
commit | 51808638634f608270ca186e7157bf02531fb197 (patch) | |
tree | 8e3c7e46f6378d71207cbb94840269c200e8ba1c /src/rtp.cc | |
parent | 8da2861036b14da10498635d2c38cc876e83ac89 (diff) |
Fix include for ntoh et al. on windows.
Diffstat (limited to 'src/rtp.cc')
-rw-r--r-- | src/rtp.cc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -28,9 +28,15 @@ #include "rtp.h" #include <string.h> -#include <arpa/inet.h> #include <stdio.h> +// For ntoh et al. +#ifdef WIN32 +#include <winsock2.h> +#else +#include <arpa/inet.h> +#endif + RTP::RTP() { memset(&header, 0, sizeof(header)); |