Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/hotspot/os/posix/forbiddenFunctions_posix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#define OS_POSIX_FORBIDDENFUNCTIONS_POSIX_HPP

#include "utilities/compilerWarnings.hpp"

#include <stddef.h> // for size_t
#include <unistd.h> // clang workaround for _exit - see FORBID macro.

Expand Down
1 change: 1 addition & 0 deletions src/hotspot/os/windows/forbiddenFunctions_windows.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#define OS_WINDOWS_FORBIDDENFUNCTIONS_WINDOWS_HPP

#include "utilities/compilerWarnings.hpp"

#include <stddef.h> // for size_t

// _fullpath with a null first argument mallocs a string for the result.
Expand Down
1 change: 1 addition & 0 deletions src/hotspot/share/utilities/forbiddenFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "utilities/compilerWarnings.hpp"
#include "utilities/macros.hpp"

#include <stdarg.h> // for va_list
#include <stddef.h> // for size_t
#include <stdlib.h> // clang workaround for exit, _exit, _Exit - see FORBID macro.
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/utilities/permitForbiddenFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ END_ALLOW_FORBIDDEN_FUNCTIONS
} // namespace permit_forbidden_function

#endif // SHARE_UTILITIES_PERMITFORBIDDENFUNCTIONS_HPP

1 change: 1 addition & 0 deletions test/hotspot/gtest/unittest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define UNITTEST_HPP

#include "utilities/globalDefinitions.hpp"

#include <stdlib.h>
#include <stdio.h>

Expand Down