diff options
Diffstat (limited to 'src/libsystemd/sd-resolve')
-rw-r--r-- | src/libsystemd/sd-resolve/sd-resolve.c | 11 | ||||
-rw-r--r-- | src/libsystemd/sd-resolve/test-resolve.c | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/sd-resolve/sd-resolve.c index 6448280c4f..ca517861d9 100644 --- a/src/libsystemd/sd-resolve/sd-resolve.c +++ b/src/libsystemd/sd-resolve/sd-resolve.c @@ -19,24 +19,13 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <assert.h> -#include <fcntl.h> #include <signal.h> #include <unistd.h> -#include <sys/select.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <errno.h> -#include <sys/wait.h> -#include <sys/types.h> -#include <pwd.h> -#include <netinet/in.h> -#include <arpa/nameser.h> #include <resolv.h> -#include <dirent.h> -#include <sys/time.h> -#include <sys/resource.h> #include <stdint.h> #include <pthread.h> #include <sys/prctl.h> diff --git a/src/libsystemd/sd-resolve/test-resolve.c b/src/libsystemd/sd-resolve/test-resolve.c index d08e1b5a05..3187ce9b8a 100644 --- a/src/libsystemd/sd-resolve/test-resolve.c +++ b/src/libsystemd/sd-resolve/test-resolve.c @@ -21,14 +21,11 @@ ***/ #include <string.h> -#include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <stdio.h> #include <netinet/in.h> -#include <arpa/nameser.h> #include <resolv.h> -#include <signal.h> #include <errno.h> #include "socket-util.h" |