vmware-archive / cascade

A Just-In-Time Compiler for Verilog from VMware Research
Other
433 stars 44 forks source link

sockstream.h:114:22: error: variable has incomplete type 'struct sockaddr_in' #205

Closed yurivict closed 4 years ago

yurivict commented 4 years ago
/usr/ports/cad/cascade-compiler/work/cascade-3f0c4988aacc8bde4b2661c6666c44eeb3024573/src/cascade/common/sockstream.h:114:22: error: variable has incomplete type 'struct sockaddr_in'
  struct sockaddr_in dest;
                     ^
/usr/ports/cad/cascade-compiler/work/cascade-3f0c4988aacc8bde4b2661c6666c44eeb3024573/src/cascade/common/sockstream.h:114:10: note: forward declaration of 'sockaddr_in'
  struct sockaddr_in dest;
         ^

You forgot #include <netinet/in.h>.

yurivict commented 4 years ago

https://github.com/vmware/cascade/pull/206