summaryrefslogtreecommitdiff
path: root/exception.c
diff options
context:
space:
mode:
authorMarcus Comstedt <marcus@mc.pp.se>2014-07-01 00:07:40 +0200
committerBert Vermeulen <bert@biot.com>2014-07-08 15:42:44 +0200
commitf6c7eade2b8853b3d525b5cc0402e89ca74c1908 (patch)
tree8ca350ca3ca7c09e08f986a92c87bd3cf7ad8a55 /exception.c
parent67ecff568264e0af2cf137af1d0f4edf7a9dcf2e (diff)
downloadlibsigrokdecode-f6c7eade2b8853b3d525b5cc0402e89ca74c1908.tar.gz
libsigrokdecode-f6c7eade2b8853b3d525b5cc0402e89ca74c1908.zip
Remove dependency on Python.h from public API header
This prevents Python.h from being included into client code, where it can mess things up by e.g. redefining _POSIX_C_SOURCE.
Diffstat (limited to 'exception.c')
-rw-r--r--exception.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exception.c b/exception.c
index 1ce66a8..9c3fa48 100644
--- a/exception.c
+++ b/exception.c
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
-#include "libsigrokdecode-internal.h"
+#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
+#include "libsigrokdecode.h"
#include "config.h"
#include <stdarg.h>
#include <glib.h>