[feature] reuturn 0 if system doesnt support NR_gettid
[feature] fix multidefine __offsetof
[feature] add checking for pthread_spin_lock and use mutex instead of spinlock if POSIX not supported
[feature] remove unneed include
[feature] fix sys/malloc.h include for __APPLE__
[feature] fix ev_ts
[bugfix] invalid nfds argument of select()
[feature] fix include of freebsd
[feature] remove unneed memalign()
[feature] fix compiler warning
[feature] fix compiler warning
[feature] fix compiler warning and add some ignored files extension
[feature] fix includedir and libdirs
[bugfix] valgrind --leak-check=full
[feature] fix valgrind error report
[bugfix] remove PTHREAD_PROCESS_SHARED attr from spin_init
Merge pull request #15 from proxyio/dev

building proxyio on freebsd