]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_cmdline/cmdline_parse_ipaddr.c
timer: fix pending counter
[dpdk.git] / lib / librte_cmdline / cmdline_parse_ipaddr.c
index 4b4ce7519ba726457c7769b7e8c48e661c1f1cc1..2861fc777e29c5b975753b7c7130e61e35e9eca5 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
 #include <errno.h>
 #include <netinet/in.h>
 #ifndef __linux__
 #include <errno.h>
 #include <netinet/in.h>
 #ifndef __linux__
+#ifndef __FreeBSD__
 #include <net/socket.h>
 #include <net/socket.h>
+#else
+#include <sys/socket.h>
+#endif
 #endif
 
 #include <rte_string_fns.h>
 #endif
 
 #include <rte_string_fns.h>