Continuing along the train of thought from my previous post, I came up with this rather extreme definition of 3rd party code:
3rd party code is any code on a different release cycle to the system under development.
This definition covers everything from 3rd party binaries, code developed by other in-house teams, the operating system, and your database schema.