summaryrefslogtreecommitdiff
path: root/nuttx/net
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-15 15:18:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-15 15:18:35 -0600
commit1169d36fd1d02c9c0432ee3317c4a749931c7f68 (patch)
tree6403ed9b9569bd1fc3c779313a6b00d122570ea1 /nuttx/net
parent0b348732427125d0555ff8002f24576f441d4834 (diff)
downloadnuttx-1169d36fd1d02c9c0432ee3317c4a749931c7f68.tar.gz
nuttx-1169d36fd1d02c9c0432ee3317c4a749931c7f68.tar.bz2
nuttx-1169d36fd1d02c9c0432ee3317c4a749931c7f68.zip
Suffer the consequences of moving struct timeval to its correct location
Diffstat (limited to 'nuttx/net')
-rw-r--r--nuttx/net/socket/getsockopt.c1
-rw-r--r--nuttx/net/socket/setsockopt.c1
-rw-r--r--nuttx/net/utils/net_dsec2timeval.c2
-rw-r--r--nuttx/net/utils/net_timeval2dsec.c2
4 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/net/socket/getsockopt.c b/nuttx/net/socket/getsockopt.c
index 60c316471..2af5dce60 100644
--- a/nuttx/net/socket/getsockopt.c
+++ b/nuttx/net/socket/getsockopt.c
@@ -42,6 +42,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <errno.h>
#include "socket/socket.h"
diff --git a/nuttx/net/socket/setsockopt.c b/nuttx/net/socket/setsockopt.c
index 7784b6520..61e502ddf 100644
--- a/nuttx/net/socket/setsockopt.c
+++ b/nuttx/net/socket/setsockopt.c
@@ -43,6 +43,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <errno.h>
#include <arch/irq.h>
diff --git a/nuttx/net/utils/net_dsec2timeval.c b/nuttx/net/utils/net_dsec2timeval.c
index df6db20db..b454844fa 100644
--- a/nuttx/net/utils/net_dsec2timeval.c
+++ b/nuttx/net/utils/net_dsec2timeval.c
@@ -40,8 +40,10 @@
#include <nuttx/config.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <stdint.h>
#include <errno.h>
+
#include <nuttx/clock.h>
#include "utils/utils.h"
diff --git a/nuttx/net/utils/net_timeval2dsec.c b/nuttx/net/utils/net_timeval2dsec.c
index af67cdc4e..b4beaf4ef 100644
--- a/nuttx/net/utils/net_timeval2dsec.c
+++ b/nuttx/net/utils/net_timeval2dsec.c
@@ -39,6 +39,8 @@
#include <nuttx/config.h>
+#include <sys/time.h>
+
#include <nuttx/clock.h>
#include "utils/utils.h"