]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - lib/rfcnb/rfcnb-priv.h
SourceFormat Enforcement
[thirdparty/squid.git] / lib / rfcnb / rfcnb-priv.h
index 65fb9d08d5844e574cb2825afa1f0db2cac4180f..2b8bd84baf9b2af44d27d81cb1b95347f94b5a2c 100644 (file)
@@ -1,10 +1,17 @@
+/*
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 /* UNIX RFCNB (RFC1001/RFC1002) NetBIOS implementation
  *
  * Version 1.0
  * RFCNB Defines
  *
  * Copyright (C) Richard Sharpe 1996
- *
  */
 
 /*
@@ -32,9 +39,13 @@ typedef unsigned short uint16;
 
 #define GLOBAL extern
 
-#include "rfcnb/rfcnb-error.h"
-#include "rfcnb/rfcnb-common.h"
 #include "rfcnb/byteorder.h"
+#include "rfcnb/rfcnb-common.h"
+#include "rfcnb/rfcnb-error.h"
+
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 
 #ifdef RFCNB_PORT
 #define RFCNB_Default_Port RFCNB_PORT
@@ -127,7 +138,6 @@ typedef struct RFCNB_Sess_Pkt {
     char calling_name[33];
 } RFCNB_Sess_Pkt;
 
-
 typedef struct RFCNB_Nack_Pkt {
     struct RFCNB_Hdr hdr;
     unsigned char error;
@@ -150,3 +160,4 @@ extern int RFCNB_saved_errno;   /* Save this from point of error */
 #endif
 
 #endif /* _RFCNB_RFCNB_PRIV_H */
+