]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Stop trying to #include the world in util.c
authorNick Mathewson <nickm@torproject.org>
Tue, 12 Aug 2003 07:49:29 +0000 (07:49 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 12 Aug 2003 07:49:29 +0000 (07:49 +0000)
svn:r390

src/common/util.c

index 56d385129659a6988de5292d67dd64af4174ddfd..c313fb5db86eb4bf6f96becce202442e754ddbe7 100644 (file)
@@ -2,41 +2,7 @@
 /* See LICENSE for licensing information */
 /* $Id$ */
 
-#include "orconfig.h"
-
-#include <stdlib.h>
-#include <limits.h>
-#if _MSC_VER > 1300
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#elif defined(_MSC_VER)
-#include <winsock.h>
-#endif
-#ifdef HAVE_SYS_FCNTL_H
-#include <sys/fcntl.h>
-#endif
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
-#endif
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
-#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif
-#ifdef HAVE_ARPA_INET_H
-#include <arpa/inet.h>
-#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <assert.h>
-#include <errno.h>
-#include <string.h>
-
+#include "../or/or.h"
 #include "util.h"
 #include "log.h"