[master] added missing include file for strncmp() and std:: qualifier for it.
apparently it didn't cause an error before as a side effect of including some
other header file. due to a slight change to buffer.h we now need to do it
explicitly here (which is a good practice anyway).
committing it at my discretion.