mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-04-25 03:34:39 +00:00
Use modified NetBSD header files to make mopcopy work for a.out.
This commit is contained in:
@@ -3,7 +3,8 @@ SRCS=mopcopy.c
|
||||
OBJS=${SRCS:.c=.o}
|
||||
|
||||
LDLIBS+=../common/libcommon.a
|
||||
CFLAGS+=-I../common -DNOAOUT
|
||||
CFLAGS+=-I../common
|
||||
# -DNOAOUT not needed as long as including of files from netbsd_h works
|
||||
|
||||
mopcopy: ${OBJS}
|
||||
|
||||
|
||||
@@ -59,9 +59,10 @@ __RCSID("$NetBSD: mopcopy.c,v 1.7 2019/12/27 09:41:52 msaitoh Exp $");
|
||||
#if !defined(NOAOUT)
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include <sys/exec_aout.h>
|
||||
#endif
|
||||
#if defined(__FreeBSD__)
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <sys/imgact_aout.h>
|
||||
#else
|
||||
#include "../netbsd_h/exec_aout.h"
|
||||
#endif
|
||||
#endif /* !NOAOUT */
|
||||
#if defined(__bsdi__)
|
||||
|
||||
Reference in New Issue
Block a user