mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
lib: add various include guards
This commit is contained in:
parent
ed5b34769a
commit
ec09aaaa07
@ -21,6 +21,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(MKS_INSIDE) && !defined(MKS_COMPILATION)
|
||||
# error "Only <libmks.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "mks-types.h"
|
||||
|
@ -21,6 +21,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(MKS_INSIDE) && !defined(MKS_COMPILATION)
|
||||
# error "Only <libmks.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "mks-version-macros.h"
|
||||
|
@ -21,6 +21,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(MKS_INSIDE) && !defined(MKS_COMPILATION)
|
||||
# error "Only <libmks.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "mks-device.h"
|
||||
|
@ -21,6 +21,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(MKS_INSIDE) && !defined(MKS_COMPILATION)
|
||||
# error "Only <libmks.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include "mks-types.h"
|
||||
|
@ -21,6 +21,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(MKS_INSIDE) && !defined(MKS_COMPILATION)
|
||||
# error "Only <libmks.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user