diff options
Diffstat (limited to 'src/ipcpd/normal')
| -rw-r--r-- | src/ipcpd/normal/sdu_sched.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/ipcpd/normal/sdu_sched.c b/src/ipcpd/normal/sdu_sched.c index d4826ce5..56455721 100644 --- a/src/ipcpd/normal/sdu_sched.c +++ b/src/ipcpd/normal/sdu_sched.c @@ -20,12 +20,13 @@   * Foundation, Inc., http://www.fsf.org/about/contact/.   */ -#define _POSIX_C_SOURCE 199309L +#define _POSIX_C_SOURCE 200112L  #include "config.h"  #include <ouroboros/errno.h> +#include "ipcp.h"  #include "sdu_sched.h"  #include <assert.h> @@ -67,6 +68,8 @@ static void * sdu_reader(void * o)          sched = ((struct sched_info *) o)->sch;          qc    = ((struct sched_info *) o)->qc; +        ipcp_lock_to_core(); +          free(o);          fq = fqueue_create(); | 
