Add a missing MR_HAVE_UNISTD_H around #include of unistd.h.

Estimated hours taken: 0.25
Branches: main

runtime/mercury_runtime_util.c:
	Add a missing MR_HAVE_UNISTD_H around #include of unistd.h.
This commit is contained in:
Peter Ross
2002-10-22 13:55:56 +00:00
parent bc3ec3f144
commit efecdba25b

View File

@@ -1,5 +1,5 @@
/*
** Copyright (C) 2001 The University of Melbourne.
** Copyright (C) 2001-2002 The University of Melbourne.
** This file may only be copied under the terms of the GNU Library General
** Public License - see the file COPYING.LIB in the Mercury distribution.
*/
@@ -14,7 +14,11 @@
#include "mercury_runtime_util.h"
#include <stdio.h>
#include <unistd.h>
#ifdef MR_HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <errno.h>
#ifndef MR_HAVE_STRERROR