Fix missing include

The NULL was not declared in the header file.