diff options
author | John Levon <john.levon@nutanix.com> | 2021-03-23 15:56:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 15:56:59 +0000 |
commit | c0c891a19d78ba8881f9bc77013bdfd583e223f2 (patch) | |
tree | 0f9df8e72efb22ac027ad91e6898dfb2082bd088 /samples/client.c | |
parent | 9ed4c9e8c86ec04cbae067db18e1d31dd5f2ca79 (diff) | |
download | libvfio-user-c0c891a19d78ba8881f9bc77013bdfd583e223f2.zip libvfio-user-c0c891a19d78ba8881f9bc77013bdfd583e223f2.tar.gz libvfio-user-c0c891a19d78ba8881f9bc77013bdfd583e223f2.tar.bz2 |
globally define _GNU_SOURCE (#401)
This avoids any issues with multiple definitions when passing CFLAGS in.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'samples/client.c')
-rw-r--r-- | samples/client.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/client.c b/samples/client.c index 309c193..94702d5 100644 --- a/samples/client.c +++ b/samples/client.c @@ -28,7 +28,6 @@ * */ -#define _GNU_SOURCE #include <stdio.h> #include <sys/socket.h> #include <sys/un.h> |