Merge pull request #5 from alanz/master

Add include of stdint.h for Linux
use a portable sort instead of qsort_r, fixes #6
Merge branch 'master' of github.com:telehash/telehash-c
sorting works for linux
Merge remote-tracking branch 'telehash/master'

Conflicts:
	lib/packet.c