add include and apue.h