#include "ace/IOStream.h"
This file should not be included directly by application code. Instead, it should include "ace/IOStream.h". That's because we only put some conditional compilations in that file.