Change from sys/poll.h to standard poll.h location
[fw/openocd] / src / helper / system.h
index f710cfb5c5ac5717ca6fe975d027e844ba9d980b..a6dfd7ec1dd8bb25b268a754a8ac971f0081b1a1 100644 (file)
@@ -56,8 +56,8 @@
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
-#ifdef HAVE_SYS_POLL_H
-#include <sys/poll.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
 #endif
 
 #ifdef __ECOS