Add stddef header to solve "NULL not defined"