Carl S. Shapiro pushed to branch issue-122-gnu-source at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/lisp/Linux-os.c
    ... ... @@ -17,11 +17,8 @@
    17 17
      *
    
    18 18
      */
    
    19 19
     
    
    20
    -#if defined(__linux__)
    
    21
    -/* Needed to define REG_foo to get indices into the mcontext gregs. */
    
    22 20
     #define _GNU_SOURCE
    
    23
    -#endif
    
    24
    -
    
    21
    +#include <signal.h>  /* for reg_* constants in uc_mcontext.gregs  */
    
    25 22
     #include <stdio.h>
    
    26 23
     #include <sys/param.h>
    
    27 24
     #include <sys/file.h>