aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-06-11 17:20:44 +0000
committerGuy Harris <guy@alum.mit.edu>2011-06-11 17:20:44 +0000
commitb30de7bd0bfdc770e88ee92695bd7afe94380b2d (patch)
treefd181ea6f9baf0833c3c7e7860cdb28626ee9a3c /epan/epan.c
parent317cb92f9c6af21c65bb661c5589122df8165935 (diff)
Include <Python.h> to get the Python version number.
svn path=/trunk/; revision=37651
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 236ea20b92..47f994bd6b 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -25,6 +25,10 @@
#include "config.h"
#endif
+#ifdef HAVE_PYTHON
+#include <Python.h> /* to get the Python version number (PY_VERSION) */
+#endif
+
#ifdef HAVE_LIBGCRYPT
#include <gcrypt.h>
#endif /* HAVE_LIBGCRYPT */
@@ -33,7 +37,6 @@
#include <gnutls/gnutls.h>
#endif /* HAVE_LIBGNUTLS */
-
#include <glib.h>
#include "epan.h"
#include "epan_dissect.h"