summaryrefslogtreecommitdiff
path: root/src/libudev/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/util.c')
-rw-r--r--src/libudev/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/util.c b/src/libudev/util.c
index d8c5bb2e1e..08162e2a73 100644
--- a/src/libudev/util.c
+++ b/src/libudev/util.c
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#define _GNU_SOURCE
+
#include <assert.h>
#include <string.h>
#include <unistd.h>