chiark / gitweb /
always include config.h from Makefile
[elogind.git] / udev / lib / libudev.c
index d1dd9e4838251bca244f82c3a6eea722a5417a3e..2d34925912b1e7f9cb33337a8e2e30bee6bbaa71 100644 (file)
@@ -17,8 +17,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
@@ -33,7 +31,6 @@
 
 #include "libudev.h"
 #include "libudev-private.h"
-#include "../udev.h"
 
 struct udev {
        int refcount;
@@ -201,7 +198,7 @@ struct udev *udev_new(void)
                goto err;
        f = fopen(config_file, "r");
        if (f != NULL) {
-               char line[LINE_SIZE];
+               char line[UTIL_LINE_SIZE];
                int line_nr = 0;
 
                while (fgets(line, sizeof(line), f)) {