missing.h

00001 /* 
00002  * Copyright (c) 2005-2012 by KoanLogic s.r.l. - All rights reserved.  
00003  */
00004 
00005 #ifndef _LIBU_MISSING_H_
00006 #define _LIBU_MISSING_H_
00007 
00008 #include <u/libu_conf.h>
00009 
00010 #include <u/missing/syslog.h>
00011 #include <u/missing/strtok_r.h>
00012 #include <u/missing/unlink.h>
00013 #include <u/missing/getpid.h>
00014 #include <u/missing/fnmatch.h>
00015 #include <u/missing/timegm.h>
00016 #include <u/missing/strsep.h>
00017 #include <u/missing/strlcpy.h>
00018 #include <u/missing/strlcat.h>
00019 #include <u/missing/gettimeofday.h>
00020 #include <u/missing/daemon.h>
00021 #include <u/missing/va.h>
00022 
00023 #ifdef OS_WIN
00024   #include <windows.h>
00025   #define strcasecmp _stricmp
00026   #define sleep(secs) Sleep( (secs) * 1000 )
00027 #endif
00028 
00029 #ifndef HAVE_SSIZE_T
00030   typedef int ssize_t;
00031 #endif
00032 
00033 /* on VxWorks/DCC there's not extern declaration (even if the var is available
00034    into library files) */
00035 extern char *optarg;
00036 extern int optind;
00037 
00038 #endif  /* !_LIBU_MISSING_H_ */

←Products
© 2005-2012 - KoanLogic S.r.l. - All rights reserved