[comp.windows.x] Xos.h

gjw@ANDREAS.WR.USGS.GOV (Gregory J. Woodhouse) (12/01/90)

I'm afraid this is a naive question, but when is it necessary/appropriate
to include Xos.h?
-----------------------------------------------------------------------------
Gregory Woodhouse          |We know that the center of the earth
gjw@andreas.wr.usgs.gov    |is a fiery molten mass...but it's not
(415) 329-4694 (office)    |good to dwell on it.
(415) 325-7802 (home)      |
U.S. Geological Survey / 345 Middlefield Rd. MS 977 / Menlo Park, CA 94025
-----------------------------------------------------------------------------

jim@ncd.COM (Jim Fulton) (12/01/90)

    I'm afraid this is a naive question, but when is it necessary/appropriate
    to include Xos.h?

Whenever you need types are that are typically defined in:

	sys/types.h
	string.h vs. strings.h
	sys/file.h
	unistd.h
	struct timeval

In general, it is for system-dependent things.  If you are using Xt, then
it is automatically included by Intrinsic.h.  Most raw Xlib programs in R4
include it.