summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-08-05 13:27:29 +1000
committerDamien Miller <djm@mindrot.org>2006-08-05 13:27:29 +1000
commitd04db59ad929d289c2dcaa466989659bbc449f6b (patch)
tree6e7a34b793884bea29baa4bff222c92e7e1c6476 /openbsd-compat
parent475d61e1043604c0e65211361af08b99003af0d0 (diff)
- (djm) [openbsd-compat/regress/snprintftest.c]
[openbsd-compat/regress/strduptest.c] Add missing includes so they pass compilation with "-Wall -Werror"
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/regress/snprintftest.c1
-rw-r--r--openbsd-compat/regress/strduptest.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/regress/snprintftest.c b/openbsd-compat/regress/snprintftest.c
index e25bf223f..8879244b5 100644
--- a/openbsd-compat/regress/snprintftest.c
+++ b/openbsd-compat/regress/snprintftest.c
@@ -21,6 +21,7 @@
21#include <stdlib.h> 21#include <stdlib.h>
22#include <stdio.h> 22#include <stdio.h>
23#include <stdarg.h> 23#include <stdarg.h>
24#include <string.h>
24 25
25static int failed = 0; 26static int failed = 0;
26 27
diff --git a/openbsd-compat/regress/strduptest.c b/openbsd-compat/regress/strduptest.c
index 664a48ef4..7f6d779be 100644
--- a/openbsd-compat/regress/strduptest.c
+++ b/openbsd-compat/regress/strduptest.c
@@ -14,6 +14,9 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17#include <stdlib.h>
18#include <string.h>
19
17static int fail = 0; 20static int fail = 0;
18 21
19void 22void