chiark / gitweb /
switch ifdef __KLIBC__ to ifndef __GLIBC__
[elogind.git] / udev_libc_wrapper.c
index fe38993cd729be146090b76b15b439db966ef64f..48a893cfb10040031178781434a6d7b7fa846ed2 100644 (file)
 #include <string.h>
 #include <ctype.h>
 #include <fcntl.h>
+#include <errno.h>
 #include <sys/types.h>
 
-#include "udev_libc_wrapper.h"
 #include "udev.h"
-#include "udev_utils.h"
-#include "logging.h"
 
-#ifdef __KLIBC__
+#ifndef __GLIBC__
 #define __OWN_USERDB_PARSER__
 #endif