Open Server applications require these header files:
ospublic.h – contains public Open Server structures, datatype definitions, define statements, and function prototypes
oserror.h – contains Open Server error message numbers and text
oscompat.h – contains mappings of old datatype definitions, datatypes, routines, constants, and function prototypes to new versions
See the Open Server Server-Library/C Reference Manual.