wmcliphist: Add <sys/stat.h> to includes.

Otherwise, we get the following compiler warning:
history.c:289:2: warning: implicit declaration of function ‘chmod’
[-Wimplicit-function-declaration]
  if ((chmod(fname, S_IRUSR|S_IWUSR)) != 0) {
  ^
This commit is contained in:
Doug Torrance 2014-11-22 20:48:39 -06:00 committed by Carlos R. Mafra
parent 3a4d0d4147
commit e2ecd4b877

View file

@ -11,6 +11,7 @@
#include <unistd.h> #include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <regex.h> #include <regex.h>