Well, there's two things:
1. Why can't you just add your bot into the source code and compile?
2. If you can't do #1, you can simply do the same exact declaration and use a pointer:
Code:
struct Container { int m_id;
int m_capacity;
ItemPtr m_containerItem;
std::string m_name;
bool m_hasParent;
bool m_closed;
bool m_unlocked;
bool m_hasPages;
int m_size;
int m_firstIndex;
std::deque<ItemPtr> m_items;
}
Container* container = (Container*)containerAddress;
If you compile your bot using the same compiler, standard library, and project settings as OTClient, then the structure will be exactly the same and the standard library will handle the deque for you.