aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kafs/kafs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kafs/kafs.h')
-rw-r--r--lib/kafs/kafs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kafs/kafs.h b/lib/kafs/kafs.h
index dd20cab52048..6f6eb631d40a 100644
--- a/lib/kafs/kafs.h
+++ b/lib/kafs/kafs.h
@@ -46,6 +46,9 @@
#define AFSCALL_SETPAG 21
#ifndef _VICEIOCTL
+#ifdef __GNU__
+#define _IOT_ViceIoctl _IOT(_IOTS(caddr_t), 2, _IOTS(short), 2, 0, 0)
+#endif
#define _VICEIOCTL(id) ((unsigned int ) _IOW('V', id, struct ViceIoctl))
#define _AFSCIOCTL(id) ((unsigned int ) _IOW('C', id, struct ViceIoctl))
#endif /* _VICEIOCTL */