summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-29 12:01:40 +0200
committerwm4 <wm4@nowhere>2014-08-29 12:16:55 +0200
commit4bc9c52a122ba51c8fd8f2aea923f8cb2bab1d5f (patch)
tree1883dddef014d81498d65bfb0b970b1b968205d1
parentac2502141d82bbf4dd25d3bdd33c9d57d79d2d7a (diff)
downloadmpv-4bc9c52a122ba51c8fd8f2aea923f8cb2bab1d5f.tar.bz2
mpv-4bc9c52a122ba51c8fd8f2aea923f8cb2bab1d5f.tar.xz
bstr: preparation for next commit
Just so I can move this file without modifying its contents in the next commit. compat/compiler.h is to be moved to osdep/ with the next commit, so add a dummy header.
-rw-r--r--bstr/bstr.c2
-rw-r--r--bstr/bstr.h2
-rw-r--r--osdep/compiler.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/bstr/bstr.c b/bstr/bstr.c
index 1aae18ca19..a6268b4d53 100644
--- a/bstr/bstr.c
+++ b/bstr/bstr.c
@@ -29,7 +29,7 @@
#include "common/common.h"
#include "misc/ctype.h"
-#include "bstr/bstr.h"
+#include "bstr.h"
int bstrcmp(struct bstr str1, struct bstr str2)
{
diff --git a/bstr/bstr.h b/bstr/bstr.h
index 01fe2261a5..a1e99dd4a5 100644
--- a/bstr/bstr.h
+++ b/bstr/bstr.h
@@ -26,7 +26,7 @@
#include <stdarg.h>
#include "talloc.h"
-#include "compat/compiler.h"
+#include "osdep/compiler.h"
/* NOTE: 'len' is size_t, but most string-handling functions below assume
* that input size has been sanity checked and len fits in an int.
diff --git a/osdep/compiler.h b/osdep/compiler.h
new file mode 100644
index 0000000000..1b878a9b3d
--- /dev/null
+++ b/osdep/compiler.h
@@ -0,0 +1 @@
+#include "compat/compiler.h"