use #ifndef pattern
Merge pull request #1 from graingert/patch-1

use #ifndef pattern