In version_info.c file, if we put the Python include in first place we
remove the warning/error "_POSIX_C_SOURCE redefined", as in this article:
http://bytes.com/topic/python/answers/30009-warning-_posix_c_source-redefined
.
I had problems with CMake build.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32824
f5534014-38df-0310-8fa8-
9805f1628bb7
# include "config.h"
#endif
+#ifdef HAVE_PYTHON
+#include <Python.h> /* to get the Python version number (PY_VERSION) */
+#endif
+
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#ifdef HAVE_PYTHON
-#include <Python.h> /* to get the Python version number (PY_VERSION) */
-#endif
-
#ifdef HAVE_LIBZ
#include <zlib.h> /* to get the libz version number */
#endif