diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-05-08 11:07:30 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-05-08 11:07:30 +0200 |
commit | b5f4870edc8be0f193593958e77052ed20fbe321 (patch) | |
tree | bb9bcc687d582d646beb8e63da80dafa8a1d43d8 | |
parent | e2781c0a7afcb9b6cb60fe8af41562c323024a12 (diff) |
test: include sys/socket.h to suppress warnings
We use pipes and socketpairs, so include socket.h.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r-- | test/test_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_common.h b/test/test_common.h index 0f0b93a..f755e0c 100644 --- a/test/test_common.h +++ b/test/test_common.h @@ -40,6 +40,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> #include <systemd/sd-bus.h> |