include util/macros.h instead.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
$(DEFINES) \
$(SELINUX_CFLAGS) \
-I$(top_srcdir)/include \
+ -I$(top_srcdir)/src \
-I$(top_srcdir)/src/mapi \
-I$(top_builddir)/src/mapi
cpppath = [
header[0].dir,
'#/include',
+ '#/src',
'#/src/mapi',
]
#include <string.h>
#include <assert.h>
+#include "util/macros.h"
#include "u_current.h"
#include "u_thread.h"
#include "entry.h"
#include "stub.h"
#include "table.h"
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
struct mapi_stub {
const void *name;