about summary refs log tree commit diff
path: root/pkgs/applications/virtualization/libnvidia-container/inline-c-struct.patch
blob: dab574e58398cc332c4cf23228fd29afc390ac9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/nvcgo.c b/src/nvcgo.c
index 98789a3..47ad02b 100644
--- a/src/nvcgo.c
+++ b/src/nvcgo.c
@@ -33,7 +33,8 @@
 void nvcgo_program_1(struct svc_req *, register SVCXPRT *);
 
 static struct nvcgo_ext {
-        struct nvcgo;
+        struct rpc rpc;
+        struct libnvcgo api;
         bool initialized;
         void *dl_handle;
 } global_nvcgo_context;