Skip to content

Commit

Permalink
Merge branch '1-stable' into branch 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
nedko committed Mar 26, 2024
2 parents fc1e901 + 9fb169b commit 7a114d3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions alsapid/alsapid.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <stdbool.h> /* C99 bool */
#include <stdlib.h> /* pid_t */

#include <unistd.h> // for pid_t

void alsapid_compose_src_link(int alsa_client_id, char * buffer);
void alsapid_compose_dst_link(char * buffer);
bool alsapid_get_pid(int alsa_client_id, pid_t * pid_ptr);
Expand Down
2 changes: 2 additions & 0 deletions alsapid/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <unistd.h>
#include <sys/types.h>

#include <libgen.h>

void alsapid_compose_src_link(int alsa_client_id, char * buffer)
{
sprintf(buffer, "/tmp/alsapid-%lld-%d", (long long)getuid(), alsa_client_id);
Expand Down
1 change: 1 addition & 0 deletions daemon/app_supervisor.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <sys/stat.h>
#include <signal.h>
#include <unistd.h>
#include <sys/wait.h>

#include "app_supervisor.h"
#include "../dbus_constants.h"
Expand Down
10 changes: 9 additions & 1 deletion daemon/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,18 @@

#include <unistd.h>
#include <fcntl.h>
#include <pty.h> /* forkpty() */
#if !defined(__FreeBSD__)
# include <pty.h> /* forkpty() */
#else
# include <sys/types.h>
# include <sys/ioctl.h>
# include <termios.h>
# include <libutil.h>
#endif
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <signal.h>

#include "loader.h"
#include "../proxies/conf_proxy.h"
Expand Down
1 change: 1 addition & 0 deletions proxies/graph_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#define GRAPH_PROXY_H__61D1ED56_E33B_4F50_B45B_F520979E8AA7__INCLUDED

#include "common.h"
#include <unistd.h>

typedef struct graph_proxy_tag { int unused; } * graph_proxy_handle;

Expand Down

0 comments on commit 7a114d3

Please sign in to comment.