pkgsrc/net/aget/patches/patch-aa

20 lines
416 B
Text

$NetBSD: patch-aa,v 1.1 2006/01/10 19:31:52 joerg Exp $
--- Aget.c.orig 2006-01-10 19:11:17.000000000 +0000
+++ Aget.c
@@ -1,4 +1,4 @@
-
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -31,9 +31,6 @@ extern int fsuggested, nthreads;
extern int bwritten;
extern pthread_t hthread;
-extern int errno;
-
-
void get(struct request *req)
{
int i, ret, fd, diff_sec, nok = 0;