diff -urN glibc-2.17-c758a686/rtkaio/tst-aiod2.c glibc-2.17-c758a686/rtkaio/tst-aiod2.c
--- glibc-2.17-c758a686/rtkaio/tst-aiod2.c 2011-10-19 07:04:41.000000000 -0400
+++ glibc-2.17-c758a686/rtkaio/tst-aiod2.c 2014-08-19 18:32:10.174233598 -0400
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+#include <pthread.h>
#include "tst-aiod.h"
diff -urN glibc-2.17-c758a686/rtkaio/tst-aiod3.c glibc-2.17-c758a686/rtkaio/tst-aiod3.c
--- glibc-2.17-c758a686/rtkaio/tst-aiod3.c 2011-10-19 07:04:41.000000000 -0400
+++ glibc-2.17-c758a686/rtkaio/tst-aiod3.c 2014-08-19 18:31:59.855273111 -0400
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+#include <pthread.h>
#include "tst-aiod.h"