X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Frmt.c;h=e4e8f44bc23e1eb8e99ecbe3420ebdd178220d6d;hb=c18999bad51b56995a293cb4d6936315b5a6bdff;hp=e960f10b9377bd09d5a94ad2f2838da4b2f45287;hpb=c9f5ead8dec28ea7b774184f3c22e9b02ac6f8e2;p=chaz%2Ftar diff --git a/src/rmt.c b/src/rmt.c index e960f10..e4e8f44 100644 --- a/src/rmt.c +++ b/src/rmt.c @@ -204,7 +204,9 @@ decode_oflag (char const *oflag_string) struct name_value_pair { char const *name; int value; }; static struct name_value_pair const table[] = { +#ifdef O_APPEND {"APPEND", O_APPEND}, +#endif {"CREAT", O_CREAT}, #ifdef O_DSYNC {"DSYNC", O_DSYNC},