You'll want to use it in the file you want to include the second file into, before you include it.
That way it'll will read the definition, then use it in the require/include. 🙂
I work with large projects and, in using sessions and variables that need to contain the document root and URL root, I commonly setup a session.php that starts the session, has all of my defines, and other thing of that nature and that file is the first file included in every other file in the project. That's the only one that needs to be included with the full path since define hasn't been processed yet.
May sound a bit confusing, but just try to remember that everything is processed, for the most part, in order.
G'luck.