aboutsummaryrefslogtreecommitdiffstats
path: root/src/client_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_file.h')
-rw-r--r--src/client_file.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client_file.h b/src/client_file.h
index 3dcbe7500..439235739 100644
--- a/src/client_file.h
+++ b/src/client_file.h
@@ -20,7 +20,9 @@
#ifndef MPD_CLIENT_FILE_H
#define MPD_CLIENT_FILE_H
-#include <glib.h>
+#include "gcc.h"
+#include "gerror.h"
+
#include <stdbool.h>
struct client;
@@ -35,7 +37,7 @@ struct client;
* @param path_fs the absolute path name in filesystem encoding
* @return true if access is allowed
*/
-G_GNUC_PURE
+gcc_pure
bool
client_allow_file(const struct client *client, const char *path_fs,
GError **error_r);