How can i fix this error ?

1. Jul 8, 2008

markone

how can i fix this error ????

Fix "Cannot open include file: 'unistd.h': No such file or directory"

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>

2. Jul 8, 2008

Staff: Mentor

Re: how can i fix this error ????

Check where the file is located. Do you have it on disk? In one of include directories? What OS do you use?

3. Jul 8, 2008

markone

Re: how can i fix this error ????

4. Jul 8, 2008

markone

Re: how can i fix this error ????

I use Microsoft Visual C++ 6.0 but evry time i use this HEADER FILE it show me that error

5. Jul 8, 2008

JaWiB

Re: how can i fix this error ????

What do you need the file for? It appears to be a *nix specific header.

And for that matter, why are you using such an old IDE?

6. Jul 8, 2008

markone

Re: how can i fix this error ????

i don't know realy but i buy that progam i think some file are missing