Browse Source

be more conformant, from Timur.R.Mustafin@mcst.ru

Waldemar Brodkorb 4 years ago
parent
commit
1dfaf25d8c
5 changed files with 10 additions and 0 deletions
  1. 2 0
      test/inet/bug-if1.c
  2. 2 0
      test/nptl/tst-eintr1.c
  3. 2 0
      test/nptl/tst-eintr2.c
  4. 2 0
      test/nptl/tst-eintr3.c
  5. 2 0
      test/nptl/tst-eintr5.c

+ 2 - 0
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>

+ 2 - 0
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>

+ 2 - 0
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>

+ 2 - 0
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>

+ 2 - 0
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>