diff --git a/include/xbps_api.h b/include/xbps_api.h index fe86376c..0eef5fde 100644 --- a/include/xbps_api.h +++ b/include/xbps_api.h @@ -28,6 +28,7 @@ #include #include +#include #include #define NDEBUG #include @@ -74,6 +75,8 @@ #define SYMEXPORT #endif +__BEGIN_DECLS + /* From lib/configure.c */ int SYMEXPORT xbps_configure_pkg(const char *, const char *, bool); int SYMEXPORT xbps_configure_all_pkgs(void); @@ -226,4 +229,6 @@ int SYMEXPORT xbps_get_flags(void); bool SYMEXPORT xbps_yesno(const char *, ...); bool SYMEXPORT xbps_noyes(const char *, ...); +__END_DECLS + #endif /* !_XBPS_API_H_ */