diff options
author | Jörg Mayer <jmayer@loplof.de> | 2002-07-31 22:41:34 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2002-07-31 22:41:34 +0000 |
commit | bc82e18843e73927c66535bb0f3fcec84bd9f517 (patch) | |
tree | 9b223c20922112d104032bc5068e16b7df5447af /wiretap/wtap.h | |
parent | 7f881fdcd40254646f348f9a5d4be7ab9702eae8 (diff) |
Add conditional include of winsock2.h again, so compilation with MSVC++
will work again without complaints.
svn path=/trunk/; revision=5925
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 6e1101e10b..d403a302e5 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.119 2002/07/31 19:27:57 guy Exp $ + * $Id: wtap.h,v 1.120 2002/07/31 22:41:34 jmayer Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -27,6 +27,10 @@ #include <sys/time.h> #endif +#ifdef HAVE_WINSOCK2_H +# include <winsock2.h> +#endif + #include <glib.h> #include <stdio.h> |