Fix inclusion of standard headers on non-linux systems

This commit is contained in:
Denys Berkovskyy
2017-11-17 03:29:42 +00:00
committed by Jonas Stein
parent 80bc7cc9d0
commit f4465cd21b

View File

@@ -25,8 +25,10 @@ GNU General Public License for more details.
#include <string>
#include <sys/stat.h>
#include <time.h>
#ifdef OS_LINUX
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "scsiencrypt.h"