From 02c0dd9eb22935114a3da1713f68a3b6e12461e4 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 13 May 2021 14:57:22 -0400 Subject: file_cmds: use libiosexec --- file_cmds/pax/Makefile | 2 ++ file_cmds/pax/ar_io.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'file_cmds/pax') diff --git a/file_cmds/pax/Makefile b/file_cmds/pax/Makefile index 5d3dbdc..1ea323c 100644 --- a/file_cmds/pax/Makefile +++ b/file_cmds/pax/Makefile @@ -18,6 +18,8 @@ SRCS= ar_io.c \ tar.c \ tty_subs.c +LDADD+=-liosexec + BINDIR=/bin .include diff --git a/file_cmds/pax/ar_io.c b/file_cmds/pax/ar_io.c index 1c4b943..6ed3e83 100644 --- a/file_cmds/pax/ar_io.c +++ b/file_cmds/pax/ar_io.c @@ -65,6 +65,8 @@ __used static const char rcsid[] = "$OpenBSD: ar_io.c,v 1.38 2008/06/11 00:49:08 #include "options.h" #include "extern.h" +#include + /* * Routines which deal directly with the archive I/O device/file. */ -- cgit v1.2.3