From 1a72c0dd89f09754df443c9576dde624a17d7dd0 Mon Sep 17 00:00:00 2001 From: Damien Miller <djm@mindrot.org> Date: Tue, 3 Sep 2019 18:44:10 +1000 Subject: [PATCH] portability fixes for sshsig --- Makefile.in | 2 +- sshsig.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 8d9495091..708778d47 100644 --- a/Makefile.in +++ b/Makefile.in @@ -185,7 +185,7 @@ ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o ssh-pkcs11-client.o $(LD) -o $@ ssh-agent.o ssh-pkcs11-client.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o sshsig.o - $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) + $(LD) -o $@ ssh-keygen.o sshsig.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o readconf.o uidswap.o compat.o $(LD) -o $@ ssh-keysign.o readconf.o uidswap.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) diff --git a/sshsig.c b/sshsig.c index c1f2d803f..3dbdc8505 100644 --- a/sshsig.c +++ b/sshsig.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "includes.h" + #include <stdio.h> #include <stdlib.h> #include <stdarg.h>