You didn't show us merge.c, but I'll bet that merge.c includes merge.h, which makes for two inclusions of merge.h which does not have include guards.
You should NEVER include a .c or .cpp file.
PLEASE USE CODE TAGS (the <> formatting button) when posting code. http://v2.cplusplus.com/articles/jEywvCM9/
It makes it easier to read your code and it also makes it easier to respond to your post.
Hint: You can edit your previous post, highlight your code and press the <> formatting button.