diff --git a/aeron_driver-sys/build.rs b/aeron_driver-sys/build.rs index a8fa6d2..33643f4 100644 --- a/aeron_driver-sys/build.rs +++ b/aeron_driver-sys/build.rs @@ -97,6 +97,7 @@ pub fn main() { .header("bindings.h") .whitelist_function("aeron_.*") .whitelist_type("aeron_.*") + .constified_enum_module("aeron_.*_enum") .generate() .expect("Unable to generate aeron_driver bindings");