#ifndef __FA_BASIC_DEF_H__ #define __FA_BASIC_DEF_H__ // GLIBC #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <unistd.h> #define EMBEDDED_LINUX // 이렇게 처리하지 않으면 EClipse에서 C 영역이 회색 바탕이 됨 #ifdef MS_WIN32 #undef EMBEDDED_LINUX #endif #ifdef EMBEDDED_LINUX #include <sys/socket.h> #include <sys/ioctl.h> #include <sys/time.h> #include <sys/types.h> #include <sys/stat.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/poll.h> #include <errno.h> #include <signal.h> #include <time.h> #include <ctype.h> #include <linux/kdev_t.h> // BSD #include <sharemem.h> // FANET #include <pollmng.h> #include <uds.h> #include <udp.h> #include <tcp.h> #include <uart.h> #include <tipc.h> #include <tipc_bcast.h> #include <tipc_stream.h> //#include <dprint.h> #else #include <windows.h> #include <pollmng.h> #include <udp.h> #include <tcp.h> #include <uart.h> #endif #include <util.h> #include <tlist.h> #include <tstrlist.h> #include <tinifile.h> #include <ipc_call.h> /// 프로그램 실행상태 enum { PROC_INFO_STATE_STOP = 0, PROC_INFO_STATE_RUN, }; #define TRACE printf( "PASS %s %d\n" , __FUNCTION__, __LINE__ ) #endif // __FA_BASIC_DEF_H__