spa: add missing header guards and extern C define for spa/pod/filter.h

This commit is contained in:
Peter Hutterer 2021-06-04 13:49:19 +10:00
parent a179e0fecd
commit a71e68e945

View file

@ -22,6 +22,13 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef SPA_POD_FILTER_H
#define SPA_POD_FILTER_H
#ifdef __cplusplus
extern "C" {
#endif
#include <errno.h>
#include <stdint.h>
#include <stddef.h>
@ -407,3 +414,9 @@ spa_pod_filter(struct spa_pod_builder *b,
/**
* \}
*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* SPA_POD_FILTER_H */