chelf: fix build on cross targets

This commit is contained in:
Enno Boland 2019-01-24 10:00:44 +01:00
parent c99fabfab7
commit b2be343df6
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
diff --git a/elf.c b/elf.c
index 455d035..41d7a4f 100644
--- ./elf.c
+++ ./elf.c
@@ -1,6 +1,5 @@
#include <stdio.h>
#include <elf.h>
-#include <sys/reg.h>
#include "chelf.h"

View File

@ -1,7 +1,7 @@
# Template file for 'chelf'
pkgname=chelf
version=0.2.1
revision=1
revision=2
build_style=gnu-makefile
short_desc="Change or display the stack size of an ELF binary"
maintainer="Enno Boland <gottox@voidlinux.org>"