Summary
Makes common headers self-contained.
common.h uses NULL in gettimeofday(&t, NULL) but does not include a header that defines NULL.
Changes
- Add
#include <stddef.h> to:
01/common.h
05/common.h
09/common.h
Testing
- Verified each header can be included independently.
- Verified existing examples still compile.
Summary
Makes common headers self-contained.
common.husesNULLingettimeofday(&t, NULL)but does not include a header that definesNULL.Changes
#include <stddef.h>to:01/common.h05/common.h09/common.hTesting