/390: Add runtime check for the highgprs kernel feature.
[platform/upstream/glibc.git] / rt / tst-aio7.c
index 2925b62..39c366f 100644 (file)
@@ -117,9 +117,10 @@ do_test (void)
 
   /* Test for aio_suspend() suspending even if completed elements in list.  */
   {
-    const int BYTES = 8, ELEMS = 2;
+#define BYTES 8
+    const int ELEMS = 2;
     int i, r, fd;
-    char buff[BYTES];
+    static char buff[BYTES];
     char name[] = "/tmp/aio7.XXXXXX";
     struct timespec timeout;
     static struct aiocb cb0, cb1;