diff --git a/mozilla/xpcom/typelib/xpt/src/xpt_struct.c b/mozilla/xpcom/typelib/xpt/src/xpt_struct.c index 51ac1e26979..dbc1c004bd8 100644 --- a/mozilla/xpcom/typelib/xpt/src/xpt_struct.c +++ b/mozilla/xpcom/typelib/xpt/src/xpt_struct.c @@ -21,6 +21,7 @@ #include "xpt_xdr.h" #include "xpt_struct.h" #include +#include #ifdef XP_MAC static char *strdup(const char *c) diff --git a/mozilla/xpcom/typelib/xpt/tests/SimpleTypeLib.c b/mozilla/xpcom/typelib/xpt/tests/SimpleTypeLib.c index 1f02b2c70a4..470a5a18c31 100644 --- a/mozilla/xpcom/typelib/xpt/tests/SimpleTypeLib.c +++ b/mozilla/xpcom/typelib/xpt/tests/SimpleTypeLib.c @@ -17,6 +17,7 @@ */ /* Test the structure creation and serialization APIs from xpt_struct.c */ +#include #include "xpt_xdr.h" #include "xpt_struct.h"