Update q_shared.h

added #include <errno.h>, thanks ensiform