컴파일 에러에 대한 문의 : field `desaddr' has incomplete typ

air74의 이미지

다음과 같은 에러가 컴파일시 발생 하는데 도대체 이유를 모르겠습니다.

컴파일 에러 내용

hdr/mdl_dispatch.h:198: field `desaddr' has incomplete type

문제의 코드는 다음과 같습니다.
아래의 적색 부분 입니다.


#include <sys/types.h>        
#include <sys/socket.h>

struct sn_msg_handle {

  struct sockaddr_in desaddr;   
  int desport;
  
  sn_msg_callback_status (*callback)();  
  void *callback_data;               

  sn_msg_message *request;   /* the actual request */
  sn_msg_message *reply;        /* the actual reply */
  
  sn_msg_handle *xmit_next;
  sn_msg_handle *xmit_prev;
  
  sn_msg_retry_style cls;   

  struct timeval time_expires;  
  struct timeval time_sent;
  struct timeval time_delivered;

  struct sn_msg_xpt_vector *xpt;

  enum sn_bounce_code bounce;

  sn_msg_handle *hnext;         /* used in hash */
};
nthroot의 이미지

#include <netinet/in.h>

------식은이 처------
길이 끝나는 저기엔 아무 것도 없어요. 희망이고 나발이고 아무 것도 없어.