Skip to content

Commit

Permalink
Low: sanitize import of <poll.h> symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
jnpkrn committed Oct 17, 2016
1 parent c1c26c9 commit ab78f2a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/qb/qbipcc.h
Expand Up @@ -30,7 +30,6 @@ extern "C" {
#include <qb/qbconfig.h>

#include <pthread.h>
#include <sys/poll.h>
#include <sys/socket.h>
#include <qb/qbipc_common.h>

Expand Down
1 change: 1 addition & 0 deletions include/qb/qbloop.h
Expand Up @@ -29,6 +29,7 @@ extern "C" {

#include <signal.h>
#include <stdint.h>
#include <poll.h> /* make POLLIN etc. readily available */

/**
* @file qbloop.h
Expand Down
1 change: 1 addition & 0 deletions lib/ipc_setup.c
Expand Up @@ -19,6 +19,7 @@
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os_base.h"
#include <poll.h>

#if defined(HAVE_GETPEERUCRED)
#include <ucred.h>
Expand Down
1 change: 1 addition & 0 deletions lib/ipc_shm.c
Expand Up @@ -19,6 +19,7 @@
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os_base.h"
#include <poll.h>

#include "ipc_int.h"
#include "util_int.h"
Expand Down
1 change: 1 addition & 0 deletions lib/ipc_socket.c
Expand Up @@ -19,6 +19,7 @@
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os_base.h"
#include <poll.h>

#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
Expand Down
1 change: 1 addition & 0 deletions lib/ipcc.c
Expand Up @@ -19,6 +19,7 @@
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os_base.h"
#include <poll.h>

#include "ipc_int.h"
#include "util_int.h"
Expand Down
1 change: 1 addition & 0 deletions lib/ipcs.c
Expand Up @@ -19,6 +19,7 @@
* along with libqb. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os_base.h"
#include <poll.h>

#include "util_int.h"
#include "ipc_int.h"
Expand Down

0 comments on commit ab78f2a

Please sign in to comment.