[or-cvs] Stop trying to #include the world in util.c

Nick Mathewson nickm at seul.org
Tue Aug 12 07:49:31 UTC 2003


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv4823/src/common

Modified Files:
	util.c 
Log Message:
Stop trying to #include the world in util.c

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- util.c	12 Aug 2003 07:43:15 -0000	1.11
+++ util.c	12 Aug 2003 07:49:29 -0000	1.12
@@ -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"
 



More information about the tor-commits mailing list