guard against multiple inclusion
This commit is contained in:
parent
be97914ade
commit
3b3d86d666
1 changed files with 5 additions and 0 deletions
5
udev.h
5
udev.h
|
|
@ -1,6 +1,9 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/sysmacros.h>
|
||||
|
||||
#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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue