--- a/src/java.base/aix/native/libjli/java_md_aix.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.base/aix/native/libjli/java_md_aix.c Tue Jul 16 16:01:10 2019 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, 2018 SAP SE. All rights reserved.
+ * Copyright (c) 2016, 2019 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,7 @@
* questions.
*/
#include <stdio.h>
+#include <string.h>
#include <sys/ldr.h>
#include "java_md_aix.h"
--- a/src/java.base/aix/native/libnio/fs/AixNativeDispatcher.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.base/aix/native/libnio/fs/AixNativeDispatcher.c Tue Jul 16 16:01:10 2019 +0200
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2013 SAP SE. All rights reserved.
+ * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2019 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -25,6 +25,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/mntctl.h>
--- a/src/java.base/unix/native/libjava/childproc.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.base/unix/native/libjava/childproc.c Tue Jul 16 16:01:10 2019 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
--- a/src/java.base/unix/native/libnet/NetworkInterface.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.base/unix/native/libnet/NetworkInterface.c Tue Jul 16 16:01:10 2019 +0200
@@ -34,6 +34,7 @@
#include <netinet/in6_var.h>
#include <sys/ndd_var.h>
#include <sys/kinfo.h>
+#include <strings.h>
#endif
#if defined(__solaris__)
--- a/src/java.base/unix/native/libnio/ch/FileChannelImpl.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.base/unix/native/libnio/ch/FileChannelImpl.c Tue Jul 16 16:01:10 2019 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,6 +32,7 @@
#if defined(__linux__) || defined(__solaris__)
#include <sys/sendfile.h>
#elif defined(_AIX)
+#include <string.h>
#include <sys/socket.h>
#elif defined(_ALLBSD_SOURCE)
#include <sys/socket.h>
--- a/src/java.base/unix/native/libnio/ch/Net.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.base/unix/native/libnio/ch/Net.c Tue Jul 16 16:01:10 2019 +0200
@@ -42,6 +42,7 @@
#include "nio.h"
#ifdef _AIX
+#include <stdlib.h>
#include <sys/utsname.h>
#endif
--- a/src/java.desktop/aix/native/libawt/porting_aix.c Fri Jul 19 16:47:11 2019 -0400
+++ b/src/java.desktop/aix/native/libawt/porting_aix.c Tue Jul 16 16:01:10 2019 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2018 SAP SE. All rights reserved.
+ * Copyright (c) 2012, 2019 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -25,6 +25,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <sys/ldr.h>
#include <errno.h>