> >> This is what I got. I added s-posix-time.ads which declares > >> System.OS_Time.time_t. I use it instead long for time_t. I > >> didn't add time_t to s-linux.ads since it isn't used by > >> s-osprim-posix.adb. > > > > Adding s-posix-time.ads isn't desirable, too intrusive. > > Better to use time_t (only) from system.linux in s-osinte, and provide > > an alternate s-osprim-x32.adb > > > > Here is the patch. Does it look OK?
No, you need to define the new type time_t in all variants of s-linux*.ads, and also you cannot add a dependency on System.Linux (linux specific!) in s-osprim-posix.adb (shared by non linux posix systems). Although I can't find a diff for s-osprim-posix.adb, so perhaps you reuse an old/wrong changelog? Arno