I would guess that those files will have include guards to prevent multiple inclusions. For example:
1 2 3 4 5 6
#ifndef HEADER_HPP
#define HEADER_HPP
// header stuff goes here
#endif
If the header has already been, included, the HEADER_HPP macro is already defined so the file is excluded. Many modern compilers also allow you to achieve this with a single line: #pragma once
(but this might not work on some compilers).
EDIT: I just checked my copy of iostream with MinGW and it did indeed have include guards. So in answer to your question, its content would only be put in the preprocessor output once.