#include <unistd.h>
#include <stdio.h>
+#include "wayland-private.h"
#include "wayland-server.h"
static void
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
+#define container_of(ptr, type, member) ({ \
+ const __typeof__( ((type *)0)->member ) *__mptr = (ptr); \
+ (type *)( (char *)__mptr - offsetof(type,member) );})
+
#define WL_ZOMBIE_OBJECT ((void *) 2)
#define WL_MAP_SERVER_SIDE 0
#include <sys/mman.h>
#include <unistd.h>
+#include "wayland-private.h"
#include "wayland-server.h"
struct wl_shm_pool {
#define WL_EXPORT
#endif
-#define container_of(ptr, type, member) ({ \
- const __typeof__( ((type *)0)->member ) *__mptr = (ptr); \
- (type *)( (char *)__mptr - offsetof(type,member) );})
-
struct wl_message {
const char *name;
const char *signature;