Fix OpenBSD build

This commit is contained in:
Thomas Pöchtrager 2020-03-22 13:52:21 +01:00
parent 3d8ed37cfe
commit ddd070162d
2 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h> /* cctools-port */
#include <sys/errno.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@ -9,6 +9,12 @@
#include "dyld_bind_info.h"
#include "fixup-chains.h"
/* cctools-port start */
#undef swap16
#undef swap32
#undef swap64
/* cctools-port end */
/*****************************************************************************
*
* LC_DYLD_INFO, LC_DYLD_INFO_ONLY