I'm a little confused by your question, but this is how you correctly define a constant in a header and then use it in a C file
my_header.h
Code:
#define MY_CONSTANT 1
my_file.c
Code:
#include "my_header.h"
int x = MY_CONSTANT;
There's not really much more to it than that.