我正在使用一个共享库,比如说shr.so。这有一些头文件,比如说,shr_struct.h我需要在我的程序中使用的结构,比如main_prog.c.
我是否需要shr_struct.h在我的包含路径中保留一份副本,以便我可以在 in 中声明结构类型的shr_struct.h对象main_prog.c?
我正在使用一个共享库,比如说shr.so。这有一些头文件,比如说,shr_struct.h我需要在我的程序中使用的结构,比如main_prog.c.
我是否需要shr_struct.h在我的包含路径中保留一份副本,以便我可以在 in 中声明结构类型的shr_struct.h对象main_prog.c?