]> Pileus Git - ~andy/gtk/blobdiff - tests/autotestfilesystem.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / autotestfilesystem.c
index 9738fc63a78e565e3e850f865bab4407a307eaf6..e053b8c3cf2f6d223c07b2d5f40fd79ebea290da 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
 
-#include <config.h>
+#include "config.h"
 #include <string.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <glib/gprintf.h>
 #include <gtk/gtk.h>
 #include <gtk/gtkfilesystem.h>
 
+#ifdef G_OS_WIN32
+#include <direct.h>
+#define rmdir(d) _rmdir(d)
+#endif
+
 #define CALLBACK_TIMEOUT_MS 3000       /* Period after which the callback must have been called */
 #define CANCEL_TIMEOUT_MS 100          /* We'll sleep for this much time before cancelling */