summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-05-24 11:52:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-05-24 11:52:54 +0200
commit1dfaf25d8c83b19d2e34b92d82f3eaaba4ef1062 (patch)
tree9050ae14ea7731072644fae86fbc22d78c7e39b8
parent38048ad53bcb31a9e26d58f46222704dacf178e7 (diff)
be more conformant, from Timur.R.Mustafin@mcst.ru
-rw-r--r--test/inet/bug-if1.c2
-rw-r--r--test/nptl/tst-eintr1.c2
-rw-r--r--test/nptl/tst-eintr2.c2
-rw-r--r--test/nptl/tst-eintr3.c2
-rw-r--r--test/nptl/tst-eintr5.c2
5 files changed, 10 insertions, 0 deletions
diff --git a/test/inet/bug-if1.c b/test/inet/bug-if1.c
index ea84a68..d4f8fa7 100644
--- a/test/inet/bug-if1.c
+++ b/test/inet/bug-if1.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define _GNU_SOURCE 1
+
#include <errno.h>
#include <limits.h>
#include <stdio.h>
diff --git a/test/nptl/tst-eintr1.c b/test/nptl/tst-eintr1.c
index ac381a8..17feb0b 100644
--- a/test/nptl/tst-eintr1.c
+++ b/test/nptl/tst-eintr1.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define _GNU_SOURCE 1
+
#include <errno.h>
#include <pthread.h>
#include <signal.h>
diff --git a/test/nptl/tst-eintr2.c b/test/nptl/tst-eintr2.c
index f20c709..a33ad74 100644
--- a/test/nptl/tst-eintr2.c
+++ b/test/nptl/tst-eintr2.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define _GNU_SOURCE 1
+
#include <errno.h>
#include <pthread.h>
#include <signal.h>
diff --git a/test/nptl/tst-eintr3.c b/test/nptl/tst-eintr3.c
index 3149760..7f771d6 100644
--- a/test/nptl/tst-eintr3.c
+++ b/test/nptl/tst-eintr3.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define _GNU_SOURCE 1
+
#include <errno.h>
#include <pthread.h>
#include <signal.h>
diff --git a/test/nptl/tst-eintr5.c b/test/nptl/tst-eintr5.c
index f7cb762..47d7339 100644
--- a/test/nptl/tst-eintr5.c
+++ b/test/nptl/tst-eintr5.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define _GNU_SOURCE 1
+
#include <errno.h>
#include <pthread.h>
#include <signal.h>