--- a/src/common/rclinit.h
+++ b/src/common/rclinit.h
@@ -40,7 +40,7 @@
  * @return the parsed configuration.
  */
 enum RclInitFlags {RCLINIT_NONE = 0, RCLINIT_DAEMON = 1, RCLINIT_IDX = 2};
-extern RclConfig *recollinit(RclInitFlags flags,
+extern RclConfig *recollinit(int flags,
                              void (*cleanup)(void), void (*sigcleanup)(int),
                              std::string& reason, const string *argcnf = 0);
 inline RclConfig *recollinit(void (*cleanup)(void), void (*sigcleanup)(int),