summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/pe_driver_ctx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index 32e0819..92a025d 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -1,4 +1,5 @@
#include <stdint.h>
+#include <unistd.h>
#include <fcntl.h>
#include <perk/perk.h>
#include <perk/perk_output.h>
@@ -68,8 +69,8 @@ static uint32_t pe_argv_flags(uint32_t flags)
}
static int pe_driver_usage(
- const unsigned char * program,
- const unsigned char * arg,
+ const char * program,
+ const char * arg,
struct argv_meta * meta)
{
char header[512];