diff options
Diffstat (limited to 'src')
-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)); |