summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <armin.rigo@gmail.com>2020-11-02 20:10:45 +0000
committerArmin Rigo <armin.rigo@gmail.com>2020-11-02 20:10:45 +0000
commit6355a9864b465306a96f5d16330187db76f1543f (patch)
treecb4c2f1d2fce1b1141a162ad6f6832ea2b18efa9
parent91f92834a124383fc07e5633d242772bbef9b29e (diff)
parent0c0b74555e37940adab6035616105f8d55575cc6 (diff)
downloadcffi-6355a9864b465306a96f5d16330187db76f1543f.tar.gz
Merge branch 'branch/memset' into 'branch/default'
add missing include See merge request pypy/cffi!103
-rw-r--r--testing/cffi0/test_ffi_backend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/cffi0/test_ffi_backend.py b/testing/cffi0/test_ffi_backend.py
index 3552196..8e29bc4 100644
--- a/testing/cffi0/test_ffi_backend.py
+++ b/testing/cffi0/test_ffi_backend.py
@@ -179,6 +179,7 @@ class TestBitfield:
setters = ['case %d: s.%s = value; break;' % iname
for iname in enumerate(fnames)]
lib = ffi1.verify("""
+ #include <string.h>
struct s1 { %s };
struct sa { char a; struct s1 b; };
#define Gofs_y offsetof(struct s1, y)