Files
pkgsrc-ng/security/skey/patches/patch-ai
2013-09-26 17:14:40 +02:00

24 lines
627 B
Plaintext

$NetBSD: patch-ai,v 1.1 2008/12/13 13:58:31 obache Exp $
include "config.h" before using HAVE_* macro.
--- sha1hl.c.orig 2001-05-10 16:10:49.000000000 +0000
+++ sha1hl.c
@@ -6,6 +6,8 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*/
+#include "config.h"
+
#ifndef HAVE_SHA1_H
#if defined(LIBC_SCCS) && !defined(lint)
@@ -19,7 +21,6 @@ static char rcsid[] = "$OpenBSD: sha1hl.
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
-#include "config.h"
#include "sha1.h"
/* ARGSUSED */