chiark / gitweb /
[PATCH] add devfs like tty rules as an example in the default config file.
[elogind.git] / udev.h
diff --git a/udev.h b/udev.h
index 8e35cb708fcd952677025a60c65ac699cf17a96e..0c1951ad7875dee47c8461ca3d00bc863c2b2d87 100644 (file)
--- a/udev.h
+++ b/udev.h
@@ -24,7 +24,7 @@
 #define UDEV_H
 
 #include "libsysfs/libsysfs.h"
-#include <limits.h>
+#include <sys/param.h>
 
 #ifdef DEBUG
 #include <syslog.h>
@@ -52,7 +52,7 @@ extern int log_message (int level, const char *format, ...)
 
 
 /* filenames for the config and database files */
-#define UDEV_DB                                "udev.tdb"
+#define UDEV_DB                                ".udev.tdb"
 #define UDEV_CONFIG_PERMISSION_FILE    "udev.permissions"
 #define UDEV_CONFIG_FILE               "udev.config"