commit | 1cbca88c10e4eb45a96caef44a8d3269821de321 | [log] [tgz] |
---|---|---|
author | Marcus Sundberg <adamel@example.net> | Sun Oct 02 20:50:06 2005 +0000 |
committer | Marcus Sundberg <adamel@example.net> | Sun Oct 02 20:50:06 2005 +0000 |
tree | 58cad1a9ebec9ef6515aea4f5631205ed6073050 | |
parent | a562c632706ca4249b4a43f4200ba8871f98b530 [diff] [blame] |
Fix includes for hton*/ntoh*.
diff --git a/test/srtp_driver.c b/test/srtp_driver.c index ce02a1a..d9f3faa 100644 --- a/test/srtp_driver.c +++ b/test/srtp_driver.c
@@ -51,6 +51,12 @@ #include "srtp.h" +#ifdef HAVE_NETINET_IN_H +# include <netinet/in.h> +#elif defined HAVE_WINSOCK2_H +# include <winsock2.h> +#endif + #define PRINT_REFERENCE_PACKET 1 err_status_t