summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-01-25 22:25:35 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-01-25 22:25:35 -0500
commit1f83e3d73ffcb5ed0d028f132337d8d86b8d0ead (patch)
tree01d534fb9a6aa5ca1d83631915ec69e226f2f3d2 /gcc/toplev.c
parente4250fbaac8c4944d27f58cbfa469edd8b6374f5 (diff)
Fix builds on xcode 12+
Enforce the use of -Werror-implicit-function-declaration for all platforms to catch this. See: https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-xgcc/toplev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 10d8508..e80ed20 100755
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -40,6 +40,7 @@
#include "except.h"
#include "toplev.h"
#include "expr.h"
+#include "unistd.h"
#if defined (DWARF2_DEBUGGING_INFO)
#include "dwarf2out.h"