Tweak #includes to improve compilation on Windows.
* gcc -Wall -std=c99 -pedantic -o rtcweb rtcweb.c -lusrsctp
*/
-#include <sys/types.h>
#ifdef _WIN32
#define _CRT_SECURE_NO_WARNINGS
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#include <crtdbg.h>
-#else
+#endif
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <sys/types.h>
+#ifndef _WIN32
#include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h>
#include <pthread.h>
#include <unistd.h>
#include <stdint.h>
+#else
+#include <winsock2.h>
+#include <ws2tcpip.h>
+#include <crtdbg.h>
#endif
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
#include <usrsctp.h>
#include "programs_helper.h"
