aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-10-02 01:53:02 +0000
committerGuy Harris <guy@alum.mit.edu>2004-10-02 01:53:02 +0000
commitd7467c074980618e7cfc493074f8a0afe9e318a9 (patch)
treefb754c9221175e0e070ac4c170dd3b803e5c36fe
parentc2e5e4868d1a313f241bfe4925303313a1fc0498 (diff)
From Lars Roland: define _NEED_VAR_IMPORT_ in dftest.c to make linking
with libethereal.dll work again. svn path=/trunk/; revision=12180
-rw-r--r--dftest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dftest.c b/dftest.c
index 2eae86cac9..474e7a8ece 100644
--- a/dftest.c
+++ b/dftest.c
@@ -22,6 +22,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+
+/* With MSVC and a libethereal.dll this file needs to import some variables
+ in a special way. Therefore _NEED_VAR_IMPORT_ is defined. */
+#define _NEED_VAR_IMPORT_
#ifdef HAVE_CONFIG_H
# include "config.h"