diff --git a/panda/src/nativenet/buffered_datagramconnection.h b/panda/src/nativenet/buffered_datagramconnection.h index 7fc181578a..73df1c877f 100755 --- a/panda/src/nativenet/buffered_datagramconnection.h +++ b/panda/src/nativenet/buffered_datagramconnection.h @@ -17,6 +17,8 @@ #include "pvector.h" #include "buffered_datagramreader.h" #include "buffered_datagramwriter.h" +#include "config_nativenet.h" + //////////////////////////////////////////////////////////////// // there are 3 states diff --git a/panda/src/nativenet/buffered_datagramreader.h b/panda/src/nativenet/buffered_datagramreader.h index bd8b3656fe..26bb46522d 100755 --- a/panda/src/nativenet/buffered_datagramreader.h +++ b/panda/src/nativenet/buffered_datagramreader.h @@ -1,8 +1,11 @@ #ifndef __BUFFEREDREADER_GM_H__ #define __BUFFEREDREADER_GM_H__ + #include "ringbuffer.h" #include "datagram.h" +#include "config_nativenet.h" + inline unsigned short GetUnsignedShort(char * in) {