summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-02 22:29:56 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-02 22:29:56 -0400
commitd87e143fbad1e55ed9715c4d54c8285e0793ed4f (patch)
tree9f230e3b1d8e8596612ab07ade210e9e0969c8da /src
parentd36719f5c99324b1c37e32b217e4aff845683d59 (diff)
fix warnings from header files
Diffstat (limited to 'src')
-rw-r--r--src/grp-udev/scsi_id/scsi_id.h2
-rw-r--r--src/libsystemd-network/include/systemd-network/sd-ndisc.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/grp-udev/scsi_id/scsi_id.h b/src/grp-udev/scsi_id/scsi_id.h
index 5c2e1c28ee..86d56a0c3f 100644
--- a/src/grp-udev/scsi_id/scsi_id.h
+++ b/src/grp-udev/scsi_id/scsi_id.h
@@ -17,6 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <libudev.h>
+
#define MAX_PATH_LEN 512
/*
diff --git a/src/libsystemd-network/include/systemd-network/sd-ndisc.h b/src/libsystemd-network/include/systemd-network/sd-ndisc.h
index c77a435d17..30eb5bc404 100644
--- a/src/libsystemd-network/include/systemd-network/sd-ndisc.h
+++ b/src/libsystemd-network/include/systemd-network/sd-ndisc.h
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <net/ethernet.h>
+#include <netinet/in.h>
#include <systemd/sd-event.h>