diff options
author | Damien Miller <djm@mindrot.org> | 2006-08-05 13:27:29 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-08-05 13:27:29 +1000 |
commit | d04db59ad929d289c2dcaa466989659bbc449f6b (patch) | |
tree | 6e7a34b793884bea29baa4bff222c92e7e1c6476 | |
parent | 475d61e1043604c0e65211361af08b99003af0d0 (diff) |
- (djm) [openbsd-compat/regress/snprintftest.c]
[openbsd-compat/regress/strduptest.c] Add missing includes so they pass
compilation with "-Wall -Werror"
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | openbsd-compat/regress/snprintftest.c | 1 | ||||
-rw-r--r-- | openbsd-compat/regress/strduptest.c | 3 |
3 files changed, 8 insertions, 1 deletions
@@ -90,6 +90,9 @@ remove last traces of bufaux.h - it was merged into buffer.h in the big includes.h commit - (djm) [auth.c loginrec.c] Missing netinet/in.h for loginrec + - (djm) [openbsd-compat/regress/snprintftest.c] + [openbsd-compat/regress/strduptest.c] Add missing includes so they pass + compilation with "-Wall -Werror" 20060804 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent @@ -5160,4 +5163,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4456 2006/08/05 02:54:24 djm Exp $ +$Id: ChangeLog,v 1.4457 2006/08/05 03:27:29 djm Exp $ diff --git a/openbsd-compat/regress/snprintftest.c b/openbsd-compat/regress/snprintftest.c index e25bf223..8879244b 100644 --- a/openbsd-compat/regress/snprintftest.c +++ b/openbsd-compat/regress/snprintftest.c @@ -21,6 +21,7 @@ #include <stdlib.h> #include <stdio.h> #include <stdarg.h> +#include <string.h> static int failed = 0; diff --git a/openbsd-compat/regress/strduptest.c b/openbsd-compat/regress/strduptest.c index 664a48ef..7f6d779b 100644 --- a/openbsd-compat/regress/strduptest.c +++ b/openbsd-compat/regress/strduptest.c @@ -14,6 +14,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <stdlib.h> +#include <string.h> + static int fail = 0; void |