Include necessary headers

I found it necessary to include the following three headers:
+ `fcntl.h` for `O_RDONLY`
+ `stdlib.h` for `malloc` and `free`
+ `vector` for `std::vector`