* configure.in: Check for unistd.h.
[binutils-gdb.git] / gdb / top.c
index 3e07508368b1ee6478de737658d187631f3b8be4..72fa4642765057720c1811b7d162561a166d4b21 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -43,8 +43,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #undef savestring
 
 #include <sys/types.h>
-#ifdef USG
-/* What is this for?  X_OK?  */
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif