From: miod Date: Thu, 15 May 2014 19:23:14 +0000 (+0000) Subject: Get pqueue.h from the libssl sources rather than relying upon it being X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7542f55f2668e7a6e5094e9a00ccb06d18db19a3;p=openbsd Get pqueue.h from the libssl sources rather than relying upon it being installed. --- diff --git a/regress/lib/libcrypto/pqueue/Makefile b/regress/lib/libcrypto/pqueue/Makefile index 8b2d27e0525..09c6213e05b 100644 --- a/regress/lib/libcrypto/pqueue/Makefile +++ b/regress/lib/libcrypto/pqueue/Makefile @@ -1,6 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2014/05/12 19:14:14 miod Exp $ +# $OpenBSD: Makefile,v 1.4 2014/05/15 19:23:14 miod Exp $ PROG= pq_test +SRC= ${.CURDIR}/../../../../lib/libssl/src/ssl +CFLAGS+= -I${SRC} LDADD= -lssl -lcrypto DPADD= ${LIBSSL} ${LIBCRYPTO} diff --git a/regress/lib/libcrypto/pqueue/pq_test.c b/regress/lib/libcrypto/pqueue/pq_test.c index fa78c8fa4c9..7a69f0cf597 100644 --- a/regress/lib/libcrypto/pqueue/pq_test.c +++ b/regress/lib/libcrypto/pqueue/pq_test.c @@ -57,7 +57,7 @@ * */ -#include +#include "pqueue.h" /* remember to change expected.txt if you change these values */ unsigned char prio1[8] = "supercal";