inc.h
struct device { dev_t index; };
a.c
#define dev_t int #include "inc.h"
b.c
typedef short dev_t; #include "inc.h"