aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/libgamma-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libgamma-error.h')
-rw-r--r--src/lib/libgamma-error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libgamma-error.h b/src/lib/libgamma-error.h
index d11dbc1..419985f 100644
--- a/src/lib/libgamma-error.h
+++ b/src/lib/libgamma-error.h
@@ -34,7 +34,11 @@
* Group that the user needs to be a member of if
* `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned.
*/
+#ifndef __WIN32__
extern gid_t libgamma_group_gid;
+#else
+extern short libgamma_group_gid;
+#endif
/**
* Group that the user needs to be a member of if