summaryrefslogtreecommitdiff
path: root/gst/gstpoll.c
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2008-07-22 18:12:54 +0000
committerMichael Smith <msmith@xiph.org>2008-07-22 18:12:54 +0000
commit5b9b2e7779f22c78864496f6c568ddb8f951a4b5 (patch)
tree271eb987d90c1ded0bbd3eb88dcccd509ceaf4e1 /gst/gstpoll.c
parent14983d18107a20575aa8443205d9826cec999787 (diff)
configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Original commit message from CVS: * configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed. Add check (taken from -base) for winsock, adds WIN32_LIBS * gst/Makefile.am: Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses winsock. Define GST_EXPORTS when building libgstreamer (only used on win32) * gst/gst_private.h: * gst/gstinfo.h: Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL) for symbols that we need to export in both these files. * gst/gstpoll.c: Include gst_private.h higher up to avoid some compile problems on win32.
Diffstat (limited to 'gst/gstpoll.c')
-rw-r--r--gst/gstpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstpoll.c b/gst/gstpoll.c
index 4a05042a5..1c771b725 100644
--- a/gst/gstpoll.c
+++ b/gst/gstpoll.c
@@ -56,6 +56,8 @@
#include "config.h"
#endif
+#include "gst_private.h"
+
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
@@ -80,8 +82,6 @@
/* OS/X needs this because of bad headers */
#include <string.h>
-#include "gst_private.h"
-
#include "gstpoll.h"
#ifndef G_OS_WIN32