diff options
author | L. E. Segovia <amy@centricular.com> | 2024-04-13 11:10:43 -0300 |
---|---|---|
committer | L. E. Segovia <amy@centricular.com> | 2024-04-13 11:10:43 -0300 |
commit | fb99eaeae4e885fae7c0921c9775623a9253adad (patch) | |
tree | b0c0517c8c56eb370448804f88e622eb89284db1 | |
parent | 6e323a4ea836f72ae93a6c805518ee64dfaee9bc (diff) |
target: Fix build with MSVC 17.10 + C11
strcmp() is ok to use, just not without the requisite include.
Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/177>
-rw-r--r-- | orc/orctarget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/orc/orctarget.c b/orc/orctarget.c index 86f4fb2..cd22613 100644 --- a/orc/orctarget.c +++ b/orc/orctarget.c @@ -1,7 +1,10 @@ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <orc/orctarget.h> #include <orc/orcinternal.h> |