diff -Naurb a/testcases/open_posix_testsuite/conformance/interfaces/mq_send/5-1.c b/testcases/open_posix_testsuite/conformance/interfaces/mq_send/5-1.c
--- a/testcases/open_posix_testsuite/conformance/interfaces/mq_send/5-1.c	2008-12-12 18:26:25.000000000 +0530
+++ b/testcases/open_posix_testsuite/conformance/interfaces/mq_send/5-1.c	2009-08-07 11:29:42.000000000 +0530
@@ -37,6 +37,7 @@
 #include <signal.h>
 #include <errno.h>
 #include "posixtest.h"
+#include "mq_send.h"
 
 #define NAMESIZE 50
 #define MSGSTR "0123456789"
diff -Naurb a/testcases/open_posix_testsuite/include/mq_send.h b/testcases/open_posix_testsuite/include/mq_send.h
--- a/testcases/open_posix_testsuite/include/mq_send.h	1970-01-01 05:30:00.000000000 +0530
+++ b/testcases/open_posix_testsuite/include/mq_send.h	2009-08-07 11:28:41.000000000 +0530
@@ -0,0 +1,92 @@
+
+/*
+ * Copyright (c) 2002, Intel Corporation. All rights reserved.
+ * Created by:  julie.n.fleischer REMOVE-THIS AT intel DOT com
+ * This file is licensed under the GPL license.  For the full content
+ * of this license, see the COPYING file at the top level of this
+ * source tree.
+ */
+
+
+#include <sys/select.h>
+
+
+int sync_pipe_create(int fd[])
+{
+        return pipe (fd);
+}
+
+int sync_pipe_close(int fd[])
+{
+        int r = 0;
+
+        if (fd[0] != -1)
+                r = close (fd[0]);
+        if (fd[1] != -1)
+                r |= close (fd[1]);
+        return r;
+}
+
+int sync_pipe_wait(int fd[])
+{
+        char buf;
+        int r;
+
+        if (fd[1] != -1) {
+                close (fd[1]);
+                fd[1] = -1;
+        }
+
+        r = read (fd[0], &buf, 1);
+
+        if ((r != 1) || (buf != 'A'))
+                return -1;
+        return 0;
+}
+
+int sync_pipe_wait_select(int fd[], long tv_sec)
+{
+        char buf;
+        int r;
+       fd_set rfds;
+       struct timeval tv;
+       int err;
+
+       tv.tv_sec = tv_sec;
+       tv.tv_usec = 0;
+
+        if (fd[1] != -1) {
+                close (fd[1]);
+                fd[1] = -1;
+        }
+
+       FD_ZERO(&rfds);
+       FD_SET(fd[0], &rfds);
+
+       r = select(fd[0] + 1, &rfds, NULL, NULL, &tv);
+       err = errno;
+
+       if (FD_ISSET(fd[0], &rfds)) {
+               return sync_pipe_wait(fd);
+       }
+
+       return r ? err : -ETIMEDOUT;
+}
+
+
+int sync_pipe_notify(int fd[])
+{
+        char buf = 'A';
+        int r;
+
+        if (fd[0] != -1) {
+                close (fd[0]);
+                fd[0] = -1;
+        }
+
+        r = write (fd[1], &buf, 1);
+
+        if (r != 1)
+                return -1;
+        return 0;
+}
diff -Naurb a/testcases/open_posix_testsuite/include/posixtest.h b/testcases/open_posix_testsuite/include/posixtest.h
--- a/testcases/open_posix_testsuite/include/posixtest.h	2009-08-06 21:49:42.000000000 +0530
+++ b/testcases/open_posix_testsuite/include/posixtest.h	2009-08-07 11:28:41.000000000 +0530
@@ -15,86 +15,3 @@
 #define PTS_UNSUPPORTED 4
 #define PTS_UNTESTED    5
 
-
-#include <sys/select.h>
-
-
-int sync_pipe_create(int fd[])
-{
-        return pipe (fd);
-}
-
-int sync_pipe_close(int fd[])
-{
-        int r = 0;
-
-        if (fd[0] != -1)
-                r = close (fd[0]);
-        if (fd[1] != -1)
-                r |= close (fd[1]);
-        return r;
-}
-
-int sync_pipe_wait(int fd[])
-{
-        char buf;
-        int r;
-
-        if (fd[1] != -1) {
-                close (fd[1]);
-                fd[1] = -1;
-        }
-
-        r = read (fd[0], &buf, 1);
-
-        if ((r != 1) || (buf != 'A'))
-                return -1;
-        return 0;
-}
-
-int sync_pipe_wait_select(int fd[], long tv_sec)
-{
-        char buf;
-        int r;
-       fd_set rfds;
-       struct timeval tv;
-       int err;
-
-       tv.tv_sec = tv_sec;
-       tv.tv_usec = 0;
-
-        if (fd[1] != -1) {
-                close (fd[1]);
-                fd[1] = -1;
-        }
-
-       FD_ZERO(&rfds);
-       FD_SET(fd[0], &rfds);
-
-       r = select(fd[0] + 1, &rfds, NULL, NULL, &tv);
-       err = errno;
-
-       if (FD_ISSET(fd[0], &rfds)) {
-               return sync_pipe_wait(fd);
-       }
-
-       return r ? err : -ETIMEDOUT;
-}
-
-
-int sync_pipe_notify(int fd[])
-{
-        char buf = 'A';
-        int r;
-
-        if (fd[0] != -1) {
-                close (fd[0]);
-                fd[0] = -1;
-        }
-
-        r = write (fd[1], &buf, 1);
-
-        if (r != 1)
-                return -1;
-        return 0;
-}
