aboutsummaryrefslogtreecommitdiff
path: root/common/query/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/query/makefile')
-rw-r--r--common/query/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/query/makefile b/common/query/makefile
index 276b948..f5726a1 100644
--- a/common/query/makefile
+++ b/common/query/makefile
@@ -34,7 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen): odb_options += --database $(db_id) --generate-schema
+$(gen): odb_options += --database $(db_id) --generate-schema \
+--hxx-prologue '\\\#include "traits.hxx"'
$(gen): cpp_options := -I$(out_base)
$(gen): $(common.l.cpp-options)