From 3b3d86d66609042a0db59ad07371cd8c853c92c4 Mon Sep 17 00:00:00 2001 From: illiliti Date: Wed, 11 Nov 2020 20:37:29 +0300 Subject: [PATCH] guard against multiple inclusion --- udev.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/udev.h b/udev.h index 08188ea..91b520b 100644 --- a/udev.h +++ b/udev.h @@ -1,6 +1,9 @@ #include #include +#ifndef _LIBUDEV_H_ +#define _LIBUDEV_H_ + #ifdef __cplusplus extern "C" { #endif @@ -102,3 +105,5 @@ struct udev_device *udev_device_new_from_file(struct udev *udev, const char *pat #ifdef __cplusplus } #endif + +#endif