diff --git a/src/finn/custom_op/fpgadataflow/pool_batch.py b/src/finn/custom_op/fpgadataflow/pool_batch.py
index fea1ce3f6fae9d243e4dddb5c6324a0c51e6eaf3..7d0ad43107d53168f441d1513c3855300cfdf4f8 100644
--- a/src/finn/custom_op/fpgadataflow/pool_batch.py
+++ b/src/finn/custom_op/fpgadataflow/pool_batch.py
@@ -201,7 +201,7 @@ class Pool_Batch(HLSCustomOp):
 
     def global_includes(self):
         self.code_gen_dict["$GLOBALS$"] = ['#include "activations.hpp"']
-        self.code_gen_dict["$GLOBALS$"] = ['#include "maxpool.h"']
+        self.code_gen_dict["$GLOBALS$"] += ['#include "maxpool.h"']
         self.code_gen_dict["$GLOBALS$"] += ['#include "pool.hpp"']
 
     def defines(self, var):