diff options
-rw-r--r-- | lib/daemon.c | 2 | ||||
-rw-r--r-- | lib/odp-util.h | 3 | ||||
-rw-r--r-- | lib/socket-util.c | 2 | ||||
-rw-r--r-- | lib/stream-fd.c | 3 | ||||
-rw-r--r-- | lib/stream-tcp.c | 1 | ||||
-rw-r--r-- | lib/stream-unix.c | 1 | ||||
-rw-r--r-- | ofproto/collectors.c | 3 | ||||
-rw-r--r-- | ovsdb/log.c | 1 |
8 files changed, 13 insertions, 3 deletions
diff --git a/lib/daemon.c b/lib/daemon.c index 78f88a0f..59628f23 100644 --- a/lib/daemon.c +++ b/lib/daemon.c @@ -18,8 +18,10 @@ #include "daemon.h" #include <errno.h> #include <fcntl.h> +#include <signal.h> #include <stdlib.h> #include <string.h> +#include <sys/resource.h> #include <sys/wait.h> #include <unistd.h> #include "command-line.h" diff --git a/lib/odp-util.h b/lib/odp-util.h index 6d67ec2c..dc9a43db 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ #define ODP_UTIL_H 1 #include <stdbool.h> +#include <stddef.h> #include <stdint.h> #include "openflow/openflow.h" #include "openvswitch/datapath-protocol.h" diff --git a/lib/socket-util.c b/lib/socket-util.c index 4965b63a..3af74a48 100644 --- a/lib/socket-util.c +++ b/lib/socket-util.c @@ -26,6 +26,8 @@ #include <stdlib.h> #include <string.h> #include <sys/resource.h> +#include <sys/socket.h> +#include <sys/stat.h> #include <sys/un.h> #include <unistd.h> #include "fatal-signal.h" diff --git a/lib/stream-fd.c b/lib/stream-fd.c index 94c84340..cc897b3d 100644 --- a/lib/stream-fd.c +++ b/lib/stream-fd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ #include <poll.h> #include <stdlib.h> #include <string.h> +#include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include "fatal-signal.h" diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c index a9bcaeb4..2f7e798a 100644 --- a/lib/stream-tcp.c +++ b/lib/stream-tcp.c @@ -23,6 +23,7 @@ #include <netinet/tcp.h> #include <stdlib.h> #include <string.h> +#include <sys/socket.h> #include <unistd.h> #include "packets.h" #include "socket-util.h" diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 33f566b3..930f5486 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -21,6 +21,7 @@ #include <inttypes.h> #include <netdb.h> #include <poll.h> +#include <sys/socket.h> #include <sys/types.h> #include <sys/un.h> #include <stdlib.h> diff --git a/ofproto/collectors.c b/ofproto/collectors.c index f0639836..0b84c3ec 100644 --- a/ofproto/collectors.c +++ b/ofproto/collectors.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ #include <errno.h> #include <stdlib.h> +#include <sys/socket.h> #include <unistd.h> #include "socket-util.h" diff --git a/ovsdb/log.c b/ovsdb/log.c index ccb844fd..09b9f1f7 100644 --- a/ovsdb/log.c +++ b/ovsdb/log.c @@ -22,6 +22,7 @@ #include <fcntl.h> #include <stdlib.h> #include <string.h> +#include <sys/stat.h> #include <unistd.h> #include "json.h" |