Update swap.h

Had to add this to complete compile.
Merge pull request #8 from JoinTheRealms/patch-1

Update swap.h