eal: move common header files
[dpdk.git] / lib / librte_eal / windows / eal / include / getopt.h
index 2eebe54..6f57af4 100644 (file)
 #ifndef NEED_USUAL_GETOPT
 
 /* Use system getopt */
+#ifdef RTE_TOOLCHAIN_GCC
+#include_next <getopt.h>
+#else
 #include <getopt.h>
+#endif
 
 #else /* NEED_USUAL_GETOPT */