summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"