From 25aa411ac524ed08624033da473a5e050ff41633 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Jul 2018 16:05:03 +0200 Subject: [PATCH] Put back include dependencies --- src/hb-object-private.hh | 2 ++ src/hb-private.hh | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/hb-object-private.hh b/src/hb-object-private.hh index 95847b9cc..fcdc9256d 100644 --- a/src/hb-object-private.hh +++ b/src/hb-object-private.hh @@ -33,6 +33,8 @@ #define HB_OBJECT_PRIVATE_HH #include "hb-private.hh" +#include "hb-atomic-private.hh" +#include "hb-mutex-private.hh" /* reference_count */ diff --git a/src/hb-private.hh b/src/hb-private.hh index 3520919fe..ff339df4d 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -599,11 +599,12 @@ _hb_memalign(void **memptr, size_t alignment, size_t size) #endif -/* Headers we include for everyone. Specifically ordered to resolve dependencies. */ +/* Headers we include for everyone. Keep sorted. They express dependency amongst + * themselves, but no other file should include them.*/ #include "hb-atomic-private.hh" -#include "hb-mutex-private.hh" -#include "hb-dsalgs.hh" #include "hb-debug.hh" +#include "hb-dsalgs.hh" +#include "hb-mutex-private.hh" #include "hb-object-private.hh" #endif /* HB_PRIVATE_HH */