aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/gsocket.h')
-rw-r--r--gcc/ada/gsocket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h
index a979d3a..b343b09 100644
--- a/gcc/ada/gsocket.h
+++ b/gcc/ada/gsocket.h
@@ -6,7 +6,7 @@
* *
* C Header File *
* *
- * Copyright (C) 2004-2015, Free Software Foundation, Inc. *
+ * Copyright (C) 2004-2016, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -201,6 +201,7 @@
#include <netinet/tcp.h>
#include <sys/ioctl.h>
#include <netdb.h>
+#include <unistd.h>
#endif
#ifdef __ANDROID__