chiark / gitweb /
include <poll.h> instead of <sys/poll.h>
[elogind.git] / src / libsystemd / sd-bus / sd-bus.c
index 125b302c95455f6a7b22623827e9dd63da62969d..cac9b656015d1b3db1789f21f126483ece174149 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <netdb.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <byteswap.h>
 #include <sys/mman.h>
 #include <pthread.h>
@@ -1286,7 +1286,7 @@ int bus_set_address_system_remote(sd_bus *b, const char *host) {
                         if (!e)
                                 return -ENOMEM;
 
-                        c = strappenda(",argv4=--machine=", m);
+                        c = strjoina(",argv4=--machine=", m);
                 }
         }