Hi...
I prgoram unix sokcet programming , and part of my code is ti open file from server and open it , but i surrpised with this wierd error i dont have any reason for it ?
Code:#include <errno.h> #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdarg.h> /* ANSI C header file */ #include <syslog.h> /* for syslog() */ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> File *fp;
File name is : myHeader.h
myHeader.h:24:1: error: unknown type name ‘File’???