summaryrefslogtreecommitdiffhomepage
path: root/contrib/lar/lar.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lar/lar.h')
-rw-r--r--contrib/lar/lar.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/lar/lar.h b/contrib/lar/lar.h
index 59e6fa620..04245ce63 100644
--- a/contrib/lar/lar.h
+++ b/contrib/lar/lar.h
@@ -7,14 +7,13 @@
#include <stdint.h>
#include <fcntl.h>
#include <string.h>
+#include <errno.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
-int errno;
-
#define LAR_DIE(s) \
do { \
fprintf(stderr, "%s(%i): %s(): %s\n", \
@@ -82,9 +81,8 @@ lar_archive * lar_open( const char *filename );
int lar_close( lar_archive *ar );
-lar_archive * lar_find_archive( const char *package );
+lar_archive * lar_find_archive( const char *package, const char *path );
lar_member * lar_find_member( lar_archive *ar, const char *package );
#endif
-