about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/linux/syslinux/define-wchar_t.patch
blob: 92baf101fb413016b7996283d769a7fd9ab3ae9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
diff --git a/com32/include/stddef.h b/com32/include/stddef.h
index f52d62f3..437b11f2 100644
--- a/com32/include/stddef.h
+++ b/com32/include/stddef.h
@@ -29,4 +29,6 @@
  */
 #define container_of(p, c, m) ((c *)((char *)(p) - offsetof(c,m)))
 
+typedef short wchar_t;
+
 #endif /* _STDDEF_H */