]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Include unistd.h only if HAVE_UNISTD_H is defined 823/head
authorWolfgang Stöggl <c72578@yahoo.de>
Wed, 20 Sep 2017 08:40:03 +0000 (10:40 +0200)
committerWolfgang Stöggl <c72578@yahoo.de>
Wed, 20 Sep 2017 08:40:03 +0000 (10:40 +0200)
commite5b7fa7b2c73489d47475f4132e0fe6e5931b699
tree7cb898587ced811fefbd8b30dc09906eb7b67818
parent49597045ae715c67846ed6d95342c466b5551db3
Include unistd.h only if HAVE_UNISTD_H is defined

- Fixes compilation error, when building under Windows (e.g. VS2015):
  ..\src\rrd_create.c(18): fatal error C1083: Cannot open include file:
  'unistd.h': No such file or directory
src/rrd_create.c