summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/regress
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/regress
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/regress')
-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 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