zte's code,first commit
Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/uClibc/librt/mq_close.c b/ap/build/uClibc/librt/mq_close.c
new file mode 100644
index 0000000..cf04044
--- /dev/null
+++ b/ap/build/uClibc/librt/mq_close.c
@@ -0,0 +1,22 @@
+/*
+ * mq_close.c - close a message queue.
+ */
+
+#include <errno.h>
+#include <unistd.h>
+#include <sys/syscall.h>
+
+#include <mqueue.h>
+
+#ifdef __NR_mq_open
+
+/*
+ * Remove the association between message queue descriptor and its
+ * message queue.
+ */
+int mq_close(mqd_t mqdes)
+{
+ return close(mqdes);
+}
+
+#endif