mirror of
https://github.com/SELinuxProject/selinux
synced 2025-03-02 00:10:35 +00:00
ratbert90 submitted this patch via https://github.com/SELinuxProject/selinux/issues/19. Apparently musl does not provide sys/cdefs.h, see http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
29 lines
517 B
C
29 lines
517 B
C
/* Authors: Jason Tang <jtang@tresys.com>
|
|
* Joshua Brindle <jbrindle@tresys.com>
|
|
* Karl MacMillan <kmacmillan@mentalrootkit.com>
|
|
*/
|
|
|
|
#ifndef _SEPOL_POLICYDB_LINK_H
|
|
#define _SEPOL_POLICYDB_LINK_H
|
|
|
|
#include <sepol/handle.h>
|
|
#include <sepol/errcodes.h>
|
|
#include <sepol/policydb/policydb.h>
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int link_modules(sepol_handle_t * handle,
|
|
policydb_t * b, policydb_t ** mods, int len,
|
|
int verbose);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|