* tests/ipc_msgbuf.c: Include "config.h" and "kernel_types.h".
(main): Replace "long" with "kernel_long_t" in struct msgbuf.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/ipc.h>
#include <sys/msg.h>
#include <sys/stat.h>
+#include "kernel_types.h"
+
#define text_string "STRACE_STRING"
#define msgsz sizeof(text_string)
{
const long mtype = 0xdefaced;
struct {
- long mtype;
+ kernel_long_t mtype;
char mtext[msgsz];
} msg = {
.mtype = mtype,