diff options
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r-- | src/py_balance.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/py_balance.cc b/src/py_balance.cc index dc9975cf..3067850e 100644 --- a/src/py_balance.cc +++ b/src/py_balance.cc @@ -33,7 +33,9 @@ #include "pyinterp.h" #include "pyutils.h" +#if PY_MAJOR_VERSION < 3 #include "pyfstream.h" +#endif #include "commodity.h" #include "annotate.h" #include "balance.h" |