*** ./src/main.c.ORIG Sun Mar 6 19:08:48 2016 --- ./src/main.c Sun Mar 6 19:09:12 2016 *************** *** 22,27 **** --- 22,31 ---- */ #define INTERN 1 + #ifdef _AIX + #include + #endif + #ifdef HAVE_CONFIG_H # include #endif/*HAVE_CONFIG_H*/ *** ./src/auth.c.ORIG Sun Mar 6 19:14:17 2016 --- ./src/auth.c Sun Mar 6 19:14:53 2016 *************** *** 22,27 **** --- 22,32 ---- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *-- */ + + #ifdef _AIX + #include + #endif + #include #include #include *** ./lib/joedog/stralloc.c.ORIG Sun Mar 6 19:12:00 2016 --- ./lib/joedog/stralloc.c Sun Mar 6 19:10:10 2016 *************** *** 22,27 **** --- 22,31 ---- * */ + #ifdef _AIX + #include + #endif + #ifdef HAVE_CONFIG_H # include #endif/*HAVE_CONFIG_H*/ *** ./lib/joedog/memory.c.ORIG Sun Mar 6 19:12:27 2016 --- ./lib/joedog/memory.c Sun Mar 6 19:13:12 2016 *************** *** 22,27 **** --- 22,32 ---- * -- * */ + + #ifdef _AIX + #include + #endif + #include #include #include *** ./src/page.c.ORIG Mon Apr 4 09:58:43 2016 --- ./src/page.c Mon Apr 4 10:03:44 2016 *************** *** 10,16 **** size_t size; }; ! size_t PAGESIZE = sizeof(struct PAGE_T); void __expand(PAGE this, const int len); --- 10,16 ---- size_t size; }; ! size_t MY_PAGESIZE = sizeof(struct PAGE_T); void __expand(PAGE this, const int len); *************** *** 19,25 **** { PAGE this; ! this = calloc(1, PAGESIZE); this->len = strlen(str); this->size = this->len + 24576; this->buf = calloc(1, this->size); --- 19,25 ---- { PAGE this; ! this = calloc(1, MY_PAGESIZE); this->len = strlen(str); this->size = this->len + 24576; this->buf = calloc(1, this->size);