void-packages/srcpkgs/lxc/patches/musl-string.patch

16 lines
350 B
Diff

--- src/lxc/parse.c 2018-03-28 04:48:26.000000000 +0300
+++ src/lxc/parse.c 2018-05-07 21:07:45.737722549 +0300
@@ -23,11 +23,11 @@
#define _GNU_SOURCE
#include <stdio.h>
+#include <string.h>
#undef _GNU_SOURCE
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/mman.h>
#include "parse.h"