From 2618a52ed307ffe62f45fb345fa5d90a631fc4f6 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 12 Jun 2019 20:18:12 +0200 Subject: *: config.h or zebra.h is the first #include This is mostly relevant for Solaris, where config.h sets up some #define that affect overall header behaviour, so it needs to be before anything else. Signed-off-by: David Lamparter --- lib/command_py.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/command_py.c') diff --git a/lib/command_py.c b/lib/command_py.c index 1554af172f..4ec116df33 100644 --- a/lib/command_py.c +++ b/lib/command_py.c @@ -22,6 +22,12 @@ * memory leak or SEGV for things that haven't been well-tested. */ +/* This file is "exempt" from having +#include "config.h" + * as the first include statement because Python.h also does environment + * setup & these trample over each other. + */ + #include #include "structmember.h" #include -- cgit v1.2.3