Analogous to previous commit but for the server(-core) header.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
#ifndef WAYLAND_SERVER_CORE_H
#define WAYLAND_SERVER_CORE_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <sys/types.h>
#include <stdint.h>
#include "wayland-util.h"
#include "wayland-version.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum {
WL_EVENT_READABLE = 0x01,
WL_EVENT_WRITABLE = 0x02,