lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [10/10] git commit: refs/heads/charmonizer-decoupling - Don't include charmony.h from cfish_parcel.h
Date Sun, 21 Jul 2013 13:35:19 GMT
Don't include charmony.h from cfish_parcel.h

Now that the generated code doesn't need charmony.h, move the include to
the relevant source files.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/7e0d4a07
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/7e0d4a07
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/7e0d4a07

Branch: refs/heads/charmonizer-decoupling
Commit: 7e0d4a07808d2403ebd92c3153f5e36b2aea49e0
Parents: 2868d6c
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sun Jul 21 13:20:43 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sun Jul 21 15:31:34 2013 +0200

----------------------------------------------------------------------
 c/src/Lucy/Document/Doc.c                                    | 2 ++
 clownfish/compiler/src/CFCBindCore.c                         | 1 -
 clownfish/runtime/c/src/Clownfish/Err.c                      | 2 ++
 clownfish/runtime/c/src/Clownfish/LockFreeRegistry.c         | 2 ++
 clownfish/runtime/c/src/Clownfish/Obj.c                      | 2 ++
 clownfish/runtime/c/src/Clownfish/VTable.c                   | 2 ++
 clownfish/runtime/core/Clownfish/CharBuf.c                   | 2 ++
 clownfish/runtime/core/Clownfish/Err.c                       | 2 ++
 clownfish/runtime/core/Clownfish/Hash.c                      | 2 ++
 clownfish/runtime/core/Clownfish/Method.c                    | 2 ++
 clownfish/runtime/core/Clownfish/Num.c                       | 2 ++
 clownfish/runtime/core/Clownfish/Obj.c                       | 2 ++
 clownfish/runtime/core/Clownfish/Test/TestCharBuf.c          | 2 ++
 clownfish/runtime/core/Clownfish/Test/TestLockFreeRegistry.c | 2 ++
 clownfish/runtime/core/Clownfish/Test/TestObj.c              | 2 ++
 clownfish/runtime/core/Clownfish/Test/TestVArray.c           | 2 ++
 clownfish/runtime/core/Clownfish/Test/Util/TestMemory.c      | 2 ++
 clownfish/runtime/core/Clownfish/Test/Util/TestNumberUtils.c | 2 ++
 clownfish/runtime/core/Clownfish/TestHarness/TestFormatter.c | 2 ++
 clownfish/runtime/core/Clownfish/TestHarness/TestSuite.c     | 2 ++
 clownfish/runtime/core/Clownfish/TestHarness/TestUtils.c     | 2 ++
 clownfish/runtime/core/Clownfish/Util/Atomic.c               | 3 +++
 clownfish/runtime/core/Clownfish/Util/Memory.c               | 8 ++++++--
 clownfish/runtime/core/Clownfish/Util/StringHelper.c         | 2 ++
 clownfish/runtime/core/Clownfish/VArray.c                    | 2 ++
 clownfish/runtime/core/Clownfish/VTable.c                    | 2 ++
 core/Lucy/Util/ProcessID.c                                   | 2 ++
 core/Lucy/Util/Sleep.c                                       | 3 +++
 28 files changed, 60 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/c/src/Lucy/Document/Doc.c
----------------------------------------------------------------------
diff --git a/c/src/Lucy/Document/Doc.c b/c/src/Lucy/Document/Doc.c
index 74cfef8..d8d603b 100644
--- a/c/src/Lucy/Document/Doc.c
+++ b/c/src/Lucy/Document/Doc.c
@@ -19,6 +19,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define LUCY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Lucy/Document/Doc.h"
 #include "Clownfish/CharBuf.h"
 #include "Clownfish/Err.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/compiler/src/CFCBindCore.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCBindCore.c b/clownfish/compiler/src/CFCBindCore.c
index 430c608..eeb435d 100644
--- a/clownfish/compiler/src/CFCBindCore.c
+++ b/clownfish/compiler/src/CFCBindCore.c
@@ -311,7 +311,6 @@ S_write_parcel_h(CFCBindCore *self, CFCParcel *parcel) {
         "%s" // Extra includes.
         "\n"
         "#ifdef %s\n"
-        "  #include \"charmony.h\"\n"
         "  #define %sVISIBLE CFISH_EXPORT\n"
         "#else\n"
         "  #define %sVISIBLE CFISH_IMPORT\n"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/c/src/Clownfish/Err.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/c/src/Clownfish/Err.c b/clownfish/runtime/c/src/Clownfish/Err.c
index 17b7535..9166158 100644
--- a/clownfish/runtime/c/src/Clownfish/Err.c
+++ b/clownfish/runtime/c/src/Clownfish/Err.c
@@ -17,6 +17,8 @@
 #define CHY_USE_SHORT_NAMES
 #define CFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include <setjmp.h>
 #include <stdio.h>
 #include <stdlib.h>

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/c/src/Clownfish/LockFreeRegistry.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/c/src/Clownfish/LockFreeRegistry.c b/clownfish/runtime/c/src/Clownfish/LockFreeRegistry.c
index 481299e..899b2d4 100644
--- a/clownfish/runtime/c/src/Clownfish/LockFreeRegistry.c
+++ b/clownfish/runtime/c/src/Clownfish/LockFreeRegistry.c
@@ -18,6 +18,8 @@
 #define CHY_USE_SHORT_NAMES
 #define CFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/LockFreeRegistry.h"
 #include "Clownfish/Err.h"
 

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/c/src/Clownfish/Obj.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/c/src/Clownfish/Obj.c b/clownfish/runtime/c/src/Clownfish/Obj.c
index 6018c70..03b2ab7 100644
--- a/clownfish/runtime/c/src/Clownfish/Obj.c
+++ b/clownfish/runtime/c/src/Clownfish/Obj.c
@@ -18,6 +18,8 @@
 #define CHY_USE_SHORT_NAMES
 #define CFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Obj.h"
 #include "Clownfish/Err.h"
 

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/c/src/Clownfish/VTable.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/c/src/Clownfish/VTable.c b/clownfish/runtime/c/src/Clownfish/VTable.c
index 0bdd150..1e502f6 100644
--- a/clownfish/runtime/c/src/Clownfish/VTable.c
+++ b/clownfish/runtime/c/src/Clownfish/VTable.c
@@ -19,6 +19,8 @@
 #define C_CFISH_OBJ
 #define C_CFISH_VTABLE
 
+#include "charmony.h"
+
 #include "Clownfish/VTable.h"
 #include "Clownfish/CharBuf.h"
 #include "Clownfish/Err.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/CharBuf.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/CharBuf.c b/clownfish/runtime/core/Clownfish/CharBuf.c
index 3bdc373..64915c3 100644
--- a/clownfish/runtime/core/Clownfish/CharBuf.c
+++ b/clownfish/runtime/core/Clownfish/CharBuf.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Err.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Err.c b/clownfish/runtime/core/Clownfish/Err.c
index af100c0..ea6d9c3 100644
--- a/clownfish/runtime/core/Clownfish/Err.c
+++ b/clownfish/runtime/core/Clownfish/Err.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include <string.h>
 #include <stdio.h>
 #include <ctype.h>

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Hash.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Hash.c b/clownfish/runtime/core/Clownfish/Hash.c
index b70020d..c16fa76 100644
--- a/clownfish/runtime/core/Clownfish/Hash.c
+++ b/clownfish/runtime/core/Clownfish/Hash.c
@@ -19,6 +19,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include <string.h>
 #include <stdlib.h>
 

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Method.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Method.c b/clownfish/runtime/core/Clownfish/Method.c
index dafd60f..411ee4b 100644
--- a/clownfish/runtime/core/Clownfish/Method.c
+++ b/clownfish/runtime/core/Clownfish/Method.c
@@ -18,6 +18,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Method.h"
 #include "Clownfish/CharBuf.h"
 #include "Clownfish/Err.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Num.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Num.c b/clownfish/runtime/core/Clownfish/Num.c
index 63641dc..8a6955e 100644
--- a/clownfish/runtime/core/Clownfish/Num.c
+++ b/clownfish/runtime/core/Clownfish/Num.c
@@ -26,6 +26,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Num.h"
 #include "Clownfish/CharBuf.h"
 #include "Clownfish/Err.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Obj.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Obj.c b/clownfish/runtime/core/Clownfish/Obj.c
index f8f6e2d..e28b652 100644
--- a/clownfish/runtime/core/Clownfish/Obj.c
+++ b/clownfish/runtime/core/Clownfish/Obj.c
@@ -19,6 +19,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Test/TestCharBuf.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Test/TestCharBuf.c b/clownfish/runtime/core/Clownfish/Test/TestCharBuf.c
index 5b2fdf4..b30ba16 100644
--- a/clownfish/runtime/core/Clownfish/Test/TestCharBuf.c
+++ b/clownfish/runtime/core/Clownfish/Test/TestCharBuf.c
@@ -21,6 +21,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Test/TestCharBuf.h"
 
 #include "Clownfish/CharBuf.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Test/TestLockFreeRegistry.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Test/TestLockFreeRegistry.c b/clownfish/runtime/core/Clownfish/Test/TestLockFreeRegistry.c
index d895595..3e0030a 100644
--- a/clownfish/runtime/core/Clownfish/Test/TestLockFreeRegistry.c
+++ b/clownfish/runtime/core/Clownfish/Test/TestLockFreeRegistry.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Test/TestLockFreeRegistry.h"
 
 #include "Clownfish/LockFreeRegistry.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Test/TestObj.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Test/TestObj.c b/clownfish/runtime/core/Clownfish/Test/TestObj.c
index f1d6d90..f9f49b5 100644
--- a/clownfish/runtime/core/Clownfish/Test/TestObj.c
+++ b/clownfish/runtime/core/Clownfish/Test/TestObj.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Test/TestObj.h"
 
 #include "Clownfish/CharBuf.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Test/TestVArray.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Test/TestVArray.c b/clownfish/runtime/core/Clownfish/Test/TestVArray.c
index b012d7c..0e124df 100644
--- a/clownfish/runtime/core/Clownfish/Test/TestVArray.c
+++ b/clownfish/runtime/core/Clownfish/Test/TestVArray.c
@@ -19,6 +19,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Test/TestVArray.h"
 
 #include "Clownfish/CharBuf.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Test/Util/TestMemory.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Test/Util/TestMemory.c b/clownfish/runtime/core/Clownfish/Test/Util/TestMemory.c
index 24c8ad3..1b14fcc 100644
--- a/clownfish/runtime/core/Clownfish/Test/Util/TestMemory.c
+++ b/clownfish/runtime/core/Clownfish/Test/Util/TestMemory.c
@@ -18,6 +18,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Test/Util/TestMemory.h"
 
 #include "Clownfish/Test.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Test/Util/TestNumberUtils.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Test/Util/TestNumberUtils.c b/clownfish/runtime/core/Clownfish/Test/Util/TestNumberUtils.c
index 0ae476d..0e25702 100644
--- a/clownfish/runtime/core/Clownfish/Test/Util/TestNumberUtils.c
+++ b/clownfish/runtime/core/Clownfish/Test/Util/TestNumberUtils.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Test/Util/TestNumberUtils.h"
 
 #include "Clownfish/Err.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/TestHarness/TestFormatter.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/TestHarness/TestFormatter.c b/clownfish/runtime/core/Clownfish/TestHarness/TestFormatter.c
index 3d9facd..c6c6d96 100644
--- a/clownfish/runtime/core/Clownfish/TestHarness/TestFormatter.c
+++ b/clownfish/runtime/core/Clownfish/TestHarness/TestFormatter.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/TestHarness/TestFormatter.h"
 
 #include "Clownfish/CharBuf.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/TestHarness/TestSuite.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/TestHarness/TestSuite.c b/clownfish/runtime/core/Clownfish/TestHarness/TestSuite.c
index 8ef8eb4..d08db22 100644
--- a/clownfish/runtime/core/Clownfish/TestHarness/TestSuite.c
+++ b/clownfish/runtime/core/Clownfish/TestHarness/TestSuite.c
@@ -21,6 +21,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define TESTCFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/TestHarness/TestSuite.h"
 
 #include "Clownfish/CharBuf.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/TestHarness/TestUtils.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/TestHarness/TestUtils.c b/clownfish/runtime/core/Clownfish/TestHarness/TestUtils.c
index db9dbff..1f2c554 100644
--- a/clownfish/runtime/core/Clownfish/TestHarness/TestUtils.c
+++ b/clownfish/runtime/core/Clownfish/TestHarness/TestUtils.c
@@ -20,6 +20,8 @@
 #define CHY_USE_SHORT_NAMES
 #define CFISH_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/TestHarness/TestUtils.h"
 
 #include "Clownfish/CharBuf.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Util/Atomic.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Util/Atomic.c b/clownfish/runtime/core/Clownfish/Util/Atomic.c
index 53bc394..730cd41 100644
--- a/clownfish/runtime/core/Clownfish/Util/Atomic.c
+++ b/clownfish/runtime/core/Clownfish/Util/Atomic.c
@@ -16,6 +16,9 @@
 
 #define C_CFISH_ATOMIC
 #define CFISH_USE_SHORT_NAMES
+
+#include "charmony.h"
+
 #include "Clownfish/Util/Atomic.h"
 
 /********************************** Windows ********************************/

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Util/Memory.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Util/Memory.c b/clownfish/runtime/core/Clownfish/Util/Memory.c
index cee812e..dcf3214 100644
--- a/clownfish/runtime/core/Clownfish/Util/Memory.c
+++ b/clownfish/runtime/core/Clownfish/Util/Memory.c
@@ -15,10 +15,14 @@
  */
 
 #define C_CFISH_MEMORY
-#include <stdlib.h>
-#include <stdio.h>
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
+
+#include "charmony.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+
 #include "Clownfish/Util/Memory.h"
 
 void*

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/Util/StringHelper.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/Util/StringHelper.c b/clownfish/runtime/core/Clownfish/Util/StringHelper.c
index c62431a..89bd319 100644
--- a/clownfish/runtime/core/Clownfish/Util/StringHelper.c
+++ b/clownfish/runtime/core/Clownfish/Util/StringHelper.c
@@ -20,6 +20,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/Util/StringHelper.h"
 #include "Clownfish/Err.h"
 #include "Clownfish/Util/Memory.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/VArray.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/VArray.c b/clownfish/runtime/core/Clownfish/VArray.c
index 2370eb9..7c5832c 100644
--- a/clownfish/runtime/core/Clownfish/VArray.c
+++ b/clownfish/runtime/core/Clownfish/VArray.c
@@ -21,6 +21,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include "Clownfish/VTable.h"
 #include "Clownfish/VArray.h"
 #include "Clownfish/Err.h"

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/clownfish/runtime/core/Clownfish/VTable.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/core/Clownfish/VTable.c b/clownfish/runtime/core/Clownfish/VTable.c
index 58391b2..f4a249a 100644
--- a/clownfish/runtime/core/Clownfish/VTable.c
+++ b/clownfish/runtime/core/Clownfish/VTable.c
@@ -21,6 +21,8 @@
 #define CFISH_USE_SHORT_NAMES
 #define CHY_USE_SHORT_NAMES
 
+#include "charmony.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/core/Lucy/Util/ProcessID.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Util/ProcessID.c b/core/Lucy/Util/ProcessID.c
index dbdcdba..2cd720c 100644
--- a/core/Lucy/Util/ProcessID.c
+++ b/core/Lucy/Util/ProcessID.c
@@ -14,6 +14,8 @@
  * limitations under the License.
  */
 
+#include "charmony.h"
+
 #include "Lucy/Util/ProcessID.h"
 
 /********************************* WINDOWS ********************************/

http://git-wip-us.apache.org/repos/asf/lucy/blob/7e0d4a07/core/Lucy/Util/Sleep.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Util/Sleep.c b/core/Lucy/Util/Sleep.c
index a556e78..e57caa9 100644
--- a/core/Lucy/Util/Sleep.c
+++ b/core/Lucy/Util/Sleep.c
@@ -15,6 +15,9 @@
  */
 
 #define C_LUCY_SLEEP
+
+#include "charmony.h"
+
 #include "Lucy/Util/Sleep.h"
 
 /********************************* WINDOWS ********************************/


Mime
View raw message