0767275 Apply upstream patches to port to C99

Authored and Committed by fweimer a year ago
file added
+32
file added
+107
file modified
+8 -1