summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/usb_id/usb_id.c2
-rw-r--r--udev/udev_rules_parse.c2
-rw-r--r--udev/udev_sysdeps.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 5b78b975d8..92492c8665 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -11,6 +11,8 @@
* Free Software Foundation version 2 of the License.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
diff --git a/udev/udev_rules_parse.c b/udev/udev_rules_parse.c
index bf833bae54..705b3feb04 100644
--- a/udev/udev_rules_parse.c
+++ b/udev/udev_rules_parse.c
@@ -17,6 +17,8 @@
*
*/
+#include "config.h"
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
diff --git a/udev/udev_sysdeps.c b/udev/udev_sysdeps.c
index ef5b09ef89..cd7d148398 100644
--- a/udev/udev_sysdeps.c
+++ b/udev/udev_sysdeps.c
@@ -21,6 +21,8 @@
#include <string.h>
#include <sys/types.h>
+#include "udev_sysdeps.h"
+
#ifndef HAVE_STRLCPY
size_t strlcpy(char *dst, const char *src, size_t size)
{