about summary refs log tree commit diff
path: root/sysvipc/sys/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys/msg.h')
-rw-r--r--sysvipc/sys/msg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index 1635839617..92ea7ac056 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -58,6 +58,15 @@ struct msgbuf
 __BEGIN_DECLS
 
 /* Message queue control operation.  */
+#ifdef __USE_TIME_BITS64
+# if defined(__REDIRECT)
+extern int __REDIRECT (msgctl, (int __msqid, int __cmd,
+                       struct msqid_ds *__buf),
+                       __msgctl64) __THROW;
+# else
+# define msgctl __msgctl64
+# endif
+#endif
 extern int msgctl (int __msqid, int __cmd, struct msqid_ds *__buf) __THROW;
 
 /* Get messages queue.  */