diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c index 11c9d3c77c88abaf1a2311ec4d079d9bf89bb28c..dd5b5ddf7cf2897923c6987428ce7210e79736a7 100644 --- a/docs/examples/anyauthput.c +++ b/docs/examples/anyauthput.c @@ -13,7 +13,9 @@ #ifdef WIN32 # include #else -# include +# ifndef __VMS +# include +# endif # include #endif #include diff --git a/docs/examples/debug.c b/docs/examples/debug.c index 543a565eb93d07d52738dc0e582b810ddadacba5..30ce820cc005e037c4d1c6f9150ab017f3c668b8 100644 --- a/docs/examples/debug.c +++ b/docs/examples/debug.c @@ -29,11 +29,12 @@ void dump(const char *text, /* without the hex output, we can fit more on screen */ width = 0x40; - fprintf(stream, "%s, %zd bytes (0x%zx)\n", text, size, size); + fprintf(stream, "%s, %010.10ld bytes (0x%08.8lx)\n", + text, (long)size, (long)size); for(i=0; i