summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-04 17:15:26 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-04 17:15:26 +0200
commit834551d2469d72d2192d519e00525114e7d7a457 (patch)
tree71fa592812a8a414931bafcaedb7c2a7f1a1a86f /system.h
parent554f3f0cfb10cc2494f4a232646dc8bdda7ea962 (diff)
downloadlibrpm-tizen-834551d2469d72d2192d519e00525114e7d7a457.tar.gz
librpm-tizen-834551d2469d72d2192d519e00525114e7d7a457.tar.bz2
librpm-tizen-834551d2469d72d2192d519e00525114e7d7a457.zip
Clean up poll() vs select() tests
- move the includes out of system.h, not commonly needed - <poll.h> is conditional as we actually provide a fallback through select(), but for <sys/select.h> missing there's no fallback so doesn't make much sense to test for (and both poll.h and sys/select.h are posix anyway...)
Diffstat (limited to 'system.h')
-rw-r--r--system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/system.h b/system.h
index 890697e11..a5a255863 100644
--- a/system.h
+++ b/system.h
@@ -252,14 +252,6 @@ extern const char *__progname;
#include <strings.h>
#endif
-#if HAVE_POLL_H
-#include <poll.h>
-#else
-#if HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif
-#endif
-
#if HAVE_GETMNTINFO || HAVE_GETMNTINFO_R || HAVE_MNTCTL
# define GETMNTENT_ONE 0
# define GETMNTENT_TWO 0