I always just defined these types in a per-platform portability header myself.