Include <string.h> for the strcmp function. This improves C99
compiler compatibility because it avoids an implicit function
declaration.
---
tests/lt_dlopen_a.at | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/lt_dlopen_a.at b/tests/lt_dlopen_a.at
index 95f18a0d..d3948738 100644
--- a/tests/lt_dlopen_a.at
+++ b/tests/lt_dlopen_a.at
@@ -27,6 +27,7 @@ AT_KEYWORDS([libltdl lt_dlopen_a])
AT_DATA([main.c],
[[#include <ltdl.h>
#include <stdio.h>
+#include <string.h>
/* This dlopen() in the main executable should override any dlopen()s in
shared libraries etc.
base-commit: 1ec8fa28dcb29500d485c136db28315671ec4c3b