Hi James, > diff --git a/lib/canonicalize.h b/lib/canonicalize.h > index 2ffa1f681..d21b5b203 100644 > --- a/lib/canonicalize.h > +++ b/lib/canonicalize.h > @@ -21,6 +21,10 @@ > > #define CAN_MODE_MASK (CAN_EXISTING | CAN_ALL_BUT_LAST | CAN_MISSING) > > +# ifdef __cplusplus > +extern "C" { > +# endif > + > enum canonicalize_mode_t > { > /* All components must exist. */ > ...
Thanks, applied (with no space after '#', to keep the indentation consistent in the file). Likewise for the second patch. Bruno