Exposing cudaArray

I am trying to create a struct containing a cudaArray pointer, in a header file included by a .cpp (c++) file. I keep getting a undefined symbol error, even though i am including vector_types.h and cutil.h. Is this even possible or do I have to keep all references of cudaArray hidden within .cu files?

Ah ha, including cuda_runtime.h seems to do the trick.