update copyright date to 2013
[dpdk.git] / lib / librte_eal / common / include / rte_warnings.h
index 76abaa3..d49d05e 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without 
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <dirent.h>
 #include <stdarg.h>
 #include <errno.h>
+#ifdef RTE_LIBRTE_EAL_LINUXAPP
+#include <dirent.h>
+#endif
 
 /* rte_snprintf uses snprintf, so include its definition before we poison the
  * functions, otherwise we'll get an error in it. */