chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused includes
[elogind.git]
/
src
/
resolve
/
resolved-manager.c
diff --git
a/src/resolve/resolved-manager.c
b/src/resolve/resolved-manager.c
index d5c1bf0fbda2c6dc695a890b6d3dc5c8cf1e3863..167bea39b372849c07ea76666134f87c32b87b9d 100644
(file)
--- a/
src/resolve/resolved-manager.c
+++ b/
src/resolve/resolved-manager.c
@@
-19,18
+19,13
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <arpa/inet.h>
#include <resolv.h>
#include <resolv.h>
-#include <net/if.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
-#include <
sys/
poll.h>
+#include <poll.h>
#include <netinet/in.h>
#include "rtnl-util.h"
#include <netinet/in.h>
#include "rtnl-util.h"
-#include "event-util.h"
-#include "network-util.h"
#include "network-internal.h"
#include "network-internal.h"
-#include "conf-parser.h"
#include "socket-util.h"
#include "af-list.h"
#include "utf8.h"
#include "socket-util.h"
#include "af-list.h"
#include "utf8.h"
@@
-892,7
+887,7
@@
int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret) {
mh.msg_control = &control;
mh.msg_controllen = sizeof(control);
mh.msg_control = &control;
mh.msg_controllen = sizeof(control);
- l = recvmsg(fd, &mh,
MSG_CMSG_CLOEXEC
);
+ l = recvmsg(fd, &mh,
0
);
if (l < 0) {
if (errno == EAGAIN || errno == EINTR)
return 0;
if (l < 0) {
if (errno == EAGAIN || errno == EINTR)
return 0;