Patchwork libobjc - tiny header include fix

login
register
mail settings
Submitter Nicola Pero
Date Oct. 9, 2010, 10:30 p.m.
Message ID <1286663429.02952236@192.168.2.227>
Download mbox | patch
Permalink /patch/67334/
State New
Headers show

Comments

Nicola Pero - Oct. 9, 2010, 10:30 p.m.
Fixed a missing header include (all libobjc/*.c libobjc/*.m files now are expected to include objc-private/common.h).

Committed to trunk.

Thanks

Patch

Index: objc-sync.c
===================================================================
--- objc-sync.c (revision 165239)
+++ objc-sync.c (working copy)
@@ -77,6 +77,7 @@ 
 # define SYNC_CACHE_DISABLE
 #endif
 
+#include "objc-private/common.h"
 #include "objc/objc-sync.h"         /* For objc_sync_enter(), objc_sync_exit() */
 #include "objc/objc-api.h"          /* For objc_malloc() */
 #include "objc/thr.h"               /* For objc_mutex_loc() and similar */
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 165241)
+++ ChangeLog   (working copy)
@@ -1,5 +1,9 @@ 
 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       * objc-sync.c: Include objc-private/common.h.
+
+2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        * objc-foreach.c: Include objc-private/common.h.
        * objc/deprecated/METHOD_NULL.h: New file.
        * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of