X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/02f215c550418f180d0d1b2694c99a7a8d4dc4b2..94bd1027960c5c0f034e0a0929129d937eba51b1:/stglibs/common.lib/common.cpp?ds=sidebyside diff --git a/stglibs/common.lib/common.cpp b/stglibs/common.lib/common.cpp index 3361adb3..2ea32c2b 100644 --- a/stglibs/common.lib/common.cpp +++ b/stglibs/common.lib/common.cpp @@ -28,35 +28,13 @@ $Author: faust $ */ - -/*#include <sys/stat.h> -#include <fcntl.h> -#include <stdlib.h> -#include <errno.h> -#include <string.h> -#include <stdio.h> -#include <iconv.h> - - -#include <stdarg.h> - - +// For old and dub systems +// Like FreeBSD4 #include <sys/types.h> -#include <math.h> - -#ifdef WIN32 -#include <sysutils.hpp> -#else +#include <sys/time.h> #include <unistd.h> -#include <sys/wait.h> -#include <netinet/in.h> -#include <arpa/inet.h> -#include <sys/socket.h> -#endif*/ -#ifdef FREE_BSD -#include <sys/types.h> -#endif +#include <sys/select.h> #ifdef WIN32 #include <winsock2.h> @@ -76,7 +54,7 @@ #include <cerrno> #include <cassert> -#include "common.h" +#include "stg/common.h" #ifndef INET_ADDRSTRLEN # define INET_ADDRSTRLEN 16