summaryrefslogtreecommitdiff
path: root/openbsd-compat/xmmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/xmmap.c')
-rw-r--r--openbsd-compat/xmmap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c
index 0fb23269b..23efe3888 100644
--- a/openbsd-compat/xmmap.c
+++ b/openbsd-compat/xmmap.c
@@ -23,7 +23,7 @@
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26/* $Id: xmmap.c,v 1.12 2006/08/24 09:58:36 dtucker Exp $ */ 26/* $Id: xmmap.c,v 1.14 2007/06/11 02:52:24 djm Exp $ */
27 27
28#include "includes.h" 28#include "includes.h"
29 29
@@ -38,12 +38,14 @@
38#endif 38#endif
39#include <errno.h> 39#include <errno.h>
40#include <stdarg.h> 40#include <stdarg.h>
41#include <stdlib.h>
41#include <string.h> 42#include <string.h>
42#include <unistd.h> 43#include <unistd.h>
43 44
44#include "log.h" 45#include "log.h"
45 46
46void *xmmap(size_t size) 47void *
48xmmap(size_t size)
47{ 49{
48#ifdef HAVE_MMAP 50#ifdef HAVE_MMAP
49 void *address; 51 void *address;