Included more header files in eshs_func.c