adding include of <asm/unistd.h> on main.h

without this you get error
read.c:3: error: '__NR_read' undeclared here (not in a function)