summaryrefslogtreecommitdiff
path: root/src/libudev/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/log.c')
-rw-r--r--src/libudev/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/log.c b/src/libudev/log.c
index 5c07b626c2..8328cf6b20 100644
--- a/src/libudev/log.c
+++ b/src/libudev/log.c
@@ -18,6 +18,7 @@
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#define _GNU_SOURCE
#include <stdarg.h>
#include <stdio.h>