summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-03 14:13:56 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-03 14:13:56 +0100
commit73c843c1186c74e897022a3edb88d0d4f0ff27dc (patch)
tree812d0d4403568317b2c66d02debdc538ce7a1304 /main.c
parentfe30b6f9644aefe93b17f8562ff2368aab9c982d (diff)
clean up / fix #include
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 26dc55c..ce5123b 100644
--- a/main.c
+++ b/main.c
@@ -17,6 +17,7 @@
* limitations under the License.
*/
+#define _BSD_SOURCE
#define _GNU_SOURCE
#define _XOPEN_SOURCE 700
#include <sys/types.h>
@@ -27,7 +28,6 @@
#include <errno.h>
#include <netdb.h>
#include <signal.h>
-#include <unistd.h>
#include <libubox/usock.h>