summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-06-16 11:00:17 +0000
committerDamien Miller <djm@mindrot.org>2016-06-24 13:35:28 +1000
commit9816fc5daee5ca924dd5c4781825afbaab728877 (patch)
treef17674e9024da7ed836418d10b3f7b90a1efb43c
parentb6cf84b51bc0f5889db48bf29a0c771954ade283 (diff)
upstream commit
Include stdarg.h for va_copy as per man page. Upstream-ID: 105d6b2f1af2fbd9d91c893c436ab121434470bd
-rw-r--r--sshbuf-getput-basic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sshbuf-getput-basic.c b/sshbuf-getput-basic.c
index 23e0fd7c1..ad21ae574 100644
--- a/sshbuf-getput-basic.c
+++ b/sshbuf-getput-basic.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshbuf-getput-basic.c,v 1.5 2015/10/20 23:24:25 mmcc Exp $ */ 1/* $OpenBSD: sshbuf-getput-basic.c,v 1.6 2016/06/16 11:00:17 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2011 Damien Miller 3 * Copyright (c) 2011 Damien Miller
4 * 4 *
@@ -19,6 +19,8 @@
19#include "includes.h" 19#include "includes.h"
20 20
21#include <sys/types.h> 21#include <sys/types.h>
22
23#include <stdarg.h>
22#include <stdlib.h> 24#include <stdlib.h>
23#include <stdio.h> 25#include <stdio.h>
24#include <string.h> 26#include <string.h>