do not use the program_invocation_short_name GNU extension but just argv[0] instead, and pass it along to usage() fonctions. Avoid a name clash with BSD strmode() call. Avoid using non-standard ulong type. Use configure checks for struct shminfo before using it.
Attachment:
0005-portability-do-not-use-the-program_invocation_short_.patch
Description: Binary data