Use poll.h not sys/poll.h - sdhcp - simple dhcp client
(HTM) git clone git://git.codemadness.org/sdhcp
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 26f8405cf619f67a76b170480efbcc1defa04c46
(DIR) parent a91f359dd69354befd8c70a89e0effd8891e1644
(HTM) Author: sin <sin@2f30.org>
Date: Wed, 5 Mar 2014 16:51:33 +0000
Use poll.h not sys/poll.h
Diffstat:
M sdhcp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/sdhcp.c b/sdhcp.c
@@ -4,7 +4,7 @@
#include<net/if.h>
#include<net/route.h>
#include<signal.h>
-#include<sys/poll.h>
+#include<poll.h>
#include<errno.h>
#include<fcntl.h>
#include<stdio.h>
@@ -434,4 +434,3 @@ main(int argc, char *argv[])
run();
return 0;
}
-