diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-06-23 19:14:42 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-06-23 19:14:42 +0000 |
commit | 21b211e6d3850ce0023b60cd4356d455e41c9034 (patch) | |
tree | 36143f07e8209a5a70ce002fd10ffb362650adaf /packet-giop.c | |
parent | 499457faef8e3c92617381949525b9d65713cc95 (diff) |
Include "strerror.h" only on platforms that don't declare it in a
standard header file, so we get the platform's declaration (which may
include, for example, "dllexport"-type declarations) rather than the
"workaround for platforms that lack it" declaration.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3603 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-giop.c')
-rw-r--r-- | packet-giop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-giop.c b/packet-giop.c index 190041381e..5c98c06c8e 100644 --- a/packet-giop.c +++ b/packet-giop.c @@ -9,7 +9,7 @@ * Frank Singleton <frank.singleton@ericsson.com> * Trevor Shepherd <eustrsd@am1.ericsson.se> * - * $Id: packet-giop.c,v 1.36 2001/06/19 18:50:33 guy Exp $ + * $Id: packet-giop.c,v 1.37 2001/06/23 19:14:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -294,7 +294,9 @@ #include <ctype.h> #include <glib.h> #include <math.h> +#ifdef NEED_STRERROR_H #include "strerror.h" +#endif #include "packet.h" #include "packet-giop.h" |