libdb-4_8/libdb-4_8-sequence.patch

16 lines
532 B
Diff

Index: db-4.8.30/dist/aclocal/sequence.m4
===================================================================
--- db-4.8.30.orig/dist/aclocal/sequence.m4
+++ db-4.8.30/dist/aclocal/sequence.m4
@@ -43,7 +43,9 @@ AC_DEFUN(AM_SEQUENCE_CONFIGURE, [
# test, which won't test for the appropriate printf format strings.
if test "$db_cv_build_sequence" = "yes"; then
AC_TRY_RUN([
- main() {
+ #include <stdio.h>
+ #include <string.h>
+ int main() {
$db_cv_seq_type l;
unsigned $db_cv_seq_type u;
char buf@<:@100@:>@;