I am trying to extract archived files in my project using Libarchive. On a standalone code, i include libarchive's archive.h using:
#include <archive.h>
But I have seen on projects that header files are not included directly, they use:
#include <poppler/cpp/poppler-document.h>
Why is poppler-document.h not directly included? So how are these directories specified?