lwip-sys with changes

Fork of lwip-sys by mbed official

Revision:
2:75ce99217072
Parent:
0:762278923909
Child:
3:e640ea98ada0
--- a/arch/cc.h	Fri Jun 22 11:12:52 2012 +0000
+++ b/arch/cc.h	Fri Jun 22 15:16:26 2012 +0000
@@ -64,7 +64,7 @@
     #define PACK_STRUCT_STRUCT
     #define PACK_STRUCT_END
     #define PACK_STRUCT_FIELD(fld) fld
-    #define ALIGNED(n)  __align(n)
+    #define ALIGNED(n)  __align(n)
 #elif defined (__IAR_SYSTEMS_ICC__) 
     /* IAR Embedded Workbench tools */
     #define PACK_STRUCT_BEGIN __packed
@@ -79,14 +79,17 @@
     #define PACK_STRUCT_STRUCT __attribute__ ((__packed__))
     #define PACK_STRUCT_END
     #define PACK_STRUCT_FIELD(fld) fld
-    #define ALIGNED(n)  __attribute__((aligned (n)))
-    #define ALIGNED(n)  __align(n)
+    #define ALIGNED(n)  __attribute__((aligned (n)))
+    #define ALIGNED(n)  __align(n)
 #endif 
 
 /* Used with IP headers only */
 #define LWIP_CHKSUM_ALGORITHM 1
 
 #ifdef LWIP_DEBUG 
+
+#include "stdio.h"
+
 void assert_printf(char *msg, int line, char *file);
 
 /* Plaform specific diagnostic output */