Skip to content

Commit

Permalink
Improve header usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbarsky committed Sep 4, 2023
1 parent 2db891e commit 836a3c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/constants.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#ifndef __constants_h
#define __constants_h

#include "CoreFoundation/CoreFoundation.h"
#include "CoreServices/CoreServices.h"

// constants from https://developer.apple.com/documentation/coreservices/1455361-fseventstreameventflags?language=objc
#ifndef kFSEventStreamEventFlagNone
#define kFSEventStreamEventFlagNone 0x00000000
Expand Down
3 changes: 3 additions & 0 deletions src/fsevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#endif
#endif

#include "CoreFoundation/CFRunLoop.h"
#include "FSEvents/FSEvents.h"

#include "constants.h"
#define CONSTANT(name) \
do \
Expand Down

0 comments on commit 836a3c9

Please sign in to comment.