Fix compile error on gcc 4.7

Many std headers included <unistd.h> by default.
This has been changed in gcc 4.7, and <unistd.h> is no longer included,
which causes `* was not declared' errors.
Including <unistd.h> manually fixes this problem.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2601 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
a.visegradi 2013-07-23 11:32:31 +00:00 committed by Adam Visegradi
parent 2318e8bf1a
commit f2c8baf71e
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <unistd.h>
#ifndef _WIN32
#include <dirent.h>