commit 3b89c7e271a8c81bb386e8cc074961a809b2029f parent 85e91cafcb8c2420d637e4ed36aab254d8a49628 Author: sin <sin@2f30.org> Date: Fri, 25 Oct 2013 16:44:21 +0100 Fix build on OpenBSD Diffstat:
M | Makefile.openbsd | | | 4 | ++-- |
M | memzap.c | | | 4 | ++-- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.openbsd b/Makefile.openbsd @@ -6,11 +6,11 @@ include common.mk memzap: $(OBJ) memzap.c @echo -e " LD\t$@" - @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> + @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> $(LIBS) mdiffdump: $(OBJ) mdiffdump.c @echo -e " LD\t$@" - @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> + @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> $(LIBS) .c.o: @echo -e " CC\t$@" diff --git a/memzap.c b/memzap.c @@ -1,7 +1,7 @@ /* See LICENSE file for copyright and license details. */ -#include <libelf.h> -#include <gelf.h> +#include <libelf/libelf.h> +#include <libelf/gelf.h> #include "proto.h"