diff --git a/src/ptserver/map.c b/src/ptserver/map.c index eb06194e67..c58c258c9d 100644 --- a/src/ptserver/map.c +++ b/src/ptserver/map.c @@ -35,12 +35,8 @@ #ifdef SUPERGROUPS #include #include -#include "map.h" -#ifdef STDLIB_HAS_MALLOC_PROTOS #include -#else -#include "malloc.h" -#endif +#include "map.h" #undef PRINT_MAP_ERROR /* #define MAP_DEBUG */ diff --git a/src/ptserver/ptserver.c b/src/ptserver/ptserver.c index 803a0d2718..f347ec567f 100644 --- a/src/ptserver/ptserver.c +++ b/src/ptserver/ptserver.c @@ -262,7 +262,8 @@ main(int argc, char **argv) || (sizeof(struct prentryg) != ENTRYSIZE)) { fprintf(stderr, "The structures for the database records are different" - " sizes\n" "struct prentry = %d\n" "struct prentryg = %d\n" + " sizes\n" "struct prentry = %" AFS_SIZET_FMT "\n" + "struct prentryg = %" AFS_SIZET_FMT "\n" "ENTRYSIZE = %d\n", sizeof(struct prentry), sizeof(struct prentryg), ENTRYSIZE); PT_EXIT(1);