| Index: tools/sort-headers.py
|
| diff --git a/tools/sort-headers.py b/tools/sort-headers.py
|
| index 3f3435d56b514fca1b56863a479af23dd5355fe5..08031b2cfd88dd99de2e6f1e09b5d01858604b95 100755
|
| --- a/tools/sort-headers.py
|
| +++ b/tools/sort-headers.py
|
| @@ -46,6 +46,10 @@ def IncludeCompareKey(line):
|
| line = line[len(prefix):]
|
| break
|
|
|
| + # In sky, config.h must always be first to defined HAVE, USE, etc.
|
| + if line.startswith('"sky/engine/config.h"'):
|
| + return '0'
|
| +
|
| # The win32 api has all sorts of implicit include order dependencies :-/
|
| # Give a few headers special sort keys that make sure they appear before all
|
| # other headers.
|
|
|