summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2024-04-13 11:10:43 -0300
committerL. E. Segovia <amy@centricular.com>2024-04-13 11:10:43 -0300
commitfb99eaeae4e885fae7c0921c9775623a9253adad (patch)
treeb0c0517c8c56eb370448804f88e622eb89284db1
parent6e323a4ea836f72ae93a6c805518ee64dfaee9bc (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.c3
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>