Merge /u/jrubio/cdesktopenv/ branch dtksh_include_sys_sysmacros into master
authorJon Trulson <allura@localhost>
Thu, 12 Sep 2019 22:02:51 +0000 (22:02 +0000)
committerJon Trulson <allura@localhost>
Thu, 12 Sep 2019 22:02:51 +0000 (22:02 +0000)
https://sourceforge.net/p/cdesktopenv/code/merge-requests/10/

1  2 
cde/programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c

index b3d862e520c37a794bce34684839df1580bf1b6d,8e441f88884ece1d2938c8b132d2c71fe7fc7fdc..3ec25edc65150af93306b968d3af73e7edbc7a98
  #define __VA_START__(p,a)     va_start(p)
  #endif
  #endif
+ #if defined(__linux__)
+ #include <sys/sysmacros.h>
+ #endif
  #include <ast.h>
  #include <ctype.h>
  #include <ls.h>
  
 +#if defined(__linux__)
 +#include <sys/sysmacros.h>
 +#endif
 +
  char*
  fmtdev __PARAM__((struct stat* st), (st)) __OTORP__(struct stat* st;){
        unsigned int    ma = major(idevice(st));